diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-02-06 14:43:30 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-02-06 14:43:30 +0000 |
commit | ae54e58b90a5e2208b6d3da5245eda6625dc1ed1 (patch) | |
tree | 4e24f4e241110fcd5bc72a2253a17684c042a0a5 /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp | |
parent | da2bb5d5f6827bc22d89637fe96dab15ec88a57b (diff) | |
download | bcm5719-llvm-ae54e58b90a5e2208b6d3da5245eda6625dc1ed1.tar.gz bcm5719-llvm-ae54e58b90a5e2208b6d3da5245eda6625dc1ed1.zip |
Recommit r353293 "[LLD][ELF] - Set DF_STATIC_TLS flag for i386 target."
With the following changes:
1) Compilation fix:
std::atomic<bool> HasStaticTlsModel = false; ->
std::atomic<bool> HasStaticTlsModel{false};
2) Adjusted the comment in code.
Initial commit message:
DF_STATIC_TLS flag indicates that the shared object or executable
contains code using a static thread-local storage scheme.
Patch checks if IE/LE relocations were used to check if the code uses
a static model. If so it sets the DF_STATIC_TLS flag.
Differential revision: https://reviews.llvm.org/D57749
----
Modified : /lld/trunk/ELF/Arch/X86.cpp
Modified : /lld/trunk/ELF/Config.h
Modified : /lld/trunk/ELF/SyntheticSections.cpp
Added : /lld/trunk/test/ELF/Inputs/i386-static-tls-model1.s
Added : /lld/trunk/test/ELF/Inputs/i386-static-tls-model2.s
Added : /lld/trunk/test/ELF/Inputs/i386-static-tls-model3.s
Added : /lld/trunk/test/ELF/Inputs/i386-static-tls-model4.s
Added : /lld/trunk/test/ELF/i386-static-tls-model.s
Modified : /lld/trunk/test/ELF/i386-tls-ie-shared.s
Modified : /lld/trunk/test/ELF/tls-dynamic-i686.s
Modified : /lld/trunk/test/ELF/tls-opt-iele-i686-nopic.s
llvm-svn: 353299
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp')
0 files changed, 0 insertions, 0 deletions