summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2018-07-09 16:52:05 +0000
committerSteven Wu <stevenwu@apple.com>2018-07-09 16:52:05 +0000
commite1f7c5f8c72f77f5c25aa501a974e36b00f949a7 (patch)
treebc853a25e830767ddae62c1d5139a30773a69a5b /lldb/packages/Python/lldbsuite/test/python_api
parent75c348a0974a6906bee27160dcc07c727129c6a7 (diff)
downloadbcm5719-llvm-e1f7c5f8c72f77f5c25aa501a974e36b00f949a7.tar.gz
bcm5719-llvm-e1f7c5f8c72f77f5c25aa501a974e36b00f949a7.zip
[BitcodeReader] Infer the correct runtime preemption for GlobalValue
Summary: To allow bitcode built by old compiler to pass the current verifer, BitcodeReader needs to auto infer the correct runtime preemption from linkage and visibility for GlobalValues. Since llvm-6.0 bitcode already contains the new field but can be incorrect in some cases, the attribute needs to be recomputed all the time in BitcodeReader. This will make all the GVs has dso_local marked correctly if read from bitcode, and it should still allow the verifier to catch mistakes in optimization passes. This should fix PR38009. Reviewers: sfertile, vsk Reviewed By: vsk Subscribers: dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D49039 llvm-svn: 336560
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud