summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorFilip Pizlo <fpizlo@apple.com>2013-10-17 01:38:28 +0000
committerFilip Pizlo <fpizlo@apple.com>2013-10-17 01:38:28 +0000
commita535b14157828b73073850f0963e1bee9bad163e (patch)
treef4acf776b73a11fbb84cd4f110891c159c3dc6d9 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parentd4e9615d1ce5766e4c5cbd5f0e320102e492b1fa (diff)
downloadbcm5719-llvm-a535b14157828b73073850f0963e1bee9bad163e.tar.gz
bcm5719-llvm-a535b14157828b73073850f0963e1bee9bad163e.zip
Expose install_fatal_error_handler() through the C API.
I expose the API with some caveats: - The C++ API involves a traditional void* opaque pointer for the fatal error callback. The C API doesn’t do this. I don’t think that the void* opaque pointer makes any sense since this is a global callback - there will only be one of them. So if you need to pass some data to your callback, just put it in a global variable. - The bindings will ignore the gen_crash_diag boolean. I ignore it because (1) I don’t know what it does, (2) it’s not documented AFAIK, and (3) I couldn’t imagine any use for it. I made the gut call that it probably wasn’t important enough to expose through the C API. llvm-svn: 192864
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud