summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-05-05 05:14:24 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-05-05 05:14:24 +0000
commit022b5bcb7a19e51c854a39adbd00e25ef1de83b7 (patch)
treef0b214f245dd8e00b090bc4d15bbfb58e7e635ae /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent752ffe9c5f7cab673d4b9a94276e68d4191c601d (diff)
downloadbcm5719-llvm-022b5bcb7a19e51c854a39adbd00e25ef1de83b7.tar.gz
bcm5719-llvm-022b5bcb7a19e51c854a39adbd00e25ef1de83b7.zip
LTOCodeGenerator: add linkonce(_odr) to "llvm.compiler.used" when present in "MustPreserve" set
If the linker requested to preserve a linkonce function, we should honor this even if we drop all uses. We explicitely avoid turning them into weak_odr (unlike the first version of this patch in r267644), because the codegen can be different on Darwin: because of `llvm::canBeOmittedFromSymbolTable()` we may emit the symbol as weak_def_can_be_hidden instead of weak_definition. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268607
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud