diff options
author | George <> | 2020-11-23 09:52:17 -0800 |
---|---|---|
committer | George <> | 2020-11-23 09:52:45 -0800 |
commit | 0c5cff300ffa1d5cc55f2b11e4546f18b3389aa6 (patch) | |
tree | d7732a592bf97ab7455605b85448709afba1303c /llvm/lib/DebugInfo/PDB/Native/NativeFunctionSymbol.cpp | |
parent | 3a1c6cec15e32e4aa5593ce624915bda790dadff (diff) | |
download | llvm-0c5cff300ffa1d5cc55f2b11e4546f18b3389aa6.zip llvm-0c5cff300ffa1d5cc55f2b11e4546f18b3389aa6.tar.gz llvm-0c5cff300ffa1d5cc55f2b11e4546f18b3389aa6.tar.bz2 |
Add userData to the diagnostic handler C API
Previously, there was no way to add context to the diagnostic engine via the C API. Adding this ability makes it much easier to reason about memory ownership, particularly in reference-counted languages such as Swift. There are more details in the review comments.
Reviewed By: ftynse, mehdi_amini
Differential Revision: https://reviews.llvm.org/D91738
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Native/NativeFunctionSymbol.cpp')
0 files changed, 0 insertions, 0 deletions