diff options
| author | Boris-Chengbiao Zhou <bobo1239@web.de> | 2021-05-25 23:54:07 +0200 |
|---|---|---|
| committer | Boris-Chengbiao Zhou <bobo1239@web.de> | 2021-05-28 03:48:39 +0200 |
| commit | 4a76934aa7e46acad5f150ff394601c0b6d6d53f (patch) | |
| tree | 7e7ee05406f9eff6db96a32a18d276dcb9c9b65d /compiler/rustc_codegen_llvm/src/allocator.rs | |
| parent | e51830b90afd339332892a8f20db1957d43bf086 (diff) | |
| download | rust-4a76934aa7e46acad5f150ff394601c0b6d6d53f.tar.gz rust-4a76934aa7e46acad5f150ff394601c0b6d6d53f.zip | |
Fix static relocation model for PowerPC64
We now also use `should_assume_dso_local()` for declarations and port two additional cases from clang: - Exclude PPC64 [1] - Exclude thread-local variables [2] [1]: https://github.com/llvm/llvm-project/blob/033138ea452f5f493fb5095e5963419905ad12e1/clang/lib/CodeGen/CodeGenModule.cpp#L1038-L1040 [2]: https://github.com/llvm/llvm-project/blob/033138ea452f5f493fb5095e5963419905ad12e1/clang/lib/CodeGen/CodeGenModule.cpp#L1048-L1050
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions
