summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2019-11-01 17:20:31 -0700
committerJim Ingham <jingham@apple.com>2019-11-01 17:20:31 -0700
commit81cc5d1c7d3f7292e82e8611fcd4a2889278a218 (patch)
tree30e30b5789691ced4ebad437e1def6248a191862 /llvm/lib
parent86cdf74dc871beaa70796e1b13834be5cd73d36a (diff)
downloadbcm5719-llvm-81cc5d1c7d3f7292e82e8611fcd4a2889278a218.tar.gz
bcm5719-llvm-81cc5d1c7d3f7292e82e8611fcd4a2889278a218.zip
Don't assume that __cxa_current_exception_type exists.
Normally you shouldn't be able to have a process with an ItaniumABI plugin that doesn't have this symbol. But if the loader crashes before loading libc++abi.dylib (on MacOS), then the symbol might not be present. So we should check before accessing the pointer. There isn't a good way to write a test for this, but the change is obvious.
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud