diff options
author | John Brawn <john.brawn@arm.com> | 2022-11-22 17:52:15 +0000 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2022-11-29 13:09:52 +0000 |
commit | 6b8900f7f91de489302886c7e48033407d13f8c1 (patch) | |
tree | 4ab510f87af83f05a073f6f6908dae57b876b3bb /llvm/lib/Support/Threading.cpp | |
parent | 1824432174b3166b40bce59477beb5821170748e (diff) | |
download | llvm-6b8900f7f91de489302886c7e48033407d13f8c1.zip llvm-6b8900f7f91de489302886c7e48033407d13f8c1.tar.gz llvm-6b8900f7f91de489302886c7e48033407d13f8c1.tar.bz2 |
[clang][CodeGen] Add default attributes to __clang_call_terminate
When generating __clang_call_terminate use SetLLVMFunctionAttributes
to set the default function attributes, like we do for all the other
functions generated by clang. This fixes a problem where target
features from the command line weren't being applied to this function.
Differential Revision: https://reviews.llvm.org/D138679
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions