aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorJob Noorman <jnoorman@igalia.com>2023-10-05 08:53:51 +0000
committerGitHub <noreply@github.com>2023-10-05 08:53:51 +0000
commitc7d6d62252e356be096462fc8b416bd6f725afbd (patch)
tree364397024ee4e228a510c07be1dbf8c4294591e6 /clang/unittests/Basic/SourceManagerTest.cpp
parent7c5e4e5fa3a948fc662be3a6bf057021d32f72e6 (diff)
downloadllvm-c7d6d62252e356be096462fc8b416bd6f725afbd.zip
llvm-c7d6d62252e356be096462fc8b416bd6f725afbd.tar.gz
llvm-c7d6d62252e356be096462fc8b416bd6f725afbd.tar.bz2
[BOLT][RISCV] Implement TLS le/ie relocations (#67112)
Handle the following relocations related to TLS local-exec and initial-exec: - R_RISCV_TLS_GOT_HI20 - R_RISCV_TPREL_HI20 - R_RISCV_TPREL_ADD - R_RISCV_TPREL_LO12_I - R_RISCV_TPREL_LO12_S In addition, GNU ld has a quirk where after TLS le relaxation, two unofficial relocation types may be emitted: - R_RISCV_TPREL_I - R_RISCV_TPREL_S Since they are unofficial (defined in the reserved range of relocation types), LLVM does not define them. Hence, I've defined them locally in BOLT in a private namespace.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions