diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2019-11-15 15:27:56 -0800 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-11-15 15:44:04 -0800 |
commit | 4516dc1c20d1e77f20a72e90be876506805b3978 (patch) | |
tree | 85f5cce6ea11bb42499c6ac0ef782e165199583e /lldb/source/Plugins/OperatingSystem/Python | |
parent | a578adc1bc8e17b147ed5ef4794cd6f3f82b584b (diff) | |
download | bcm5719-llvm-4516dc1c20d1e77f20a72e90be876506805b3978.tar.gz bcm5719-llvm-4516dc1c20d1e77f20a72e90be876506805b3978.zip |
Don't add optnone or noinline if the function is already marked as
always_inline.
The assertion in SetLLVMFunctionAttributesForDefinition used to fail
when there was attribute OptimizeNone on the AST function and attribute
always_inline on the IR function. This happens because base destructors
are annotated with always_inline when the code is compiled with
-fapple-kext (see r124757).
rdar://problem/57169694
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python')
0 files changed, 0 insertions, 0 deletions