[LoongArch] Implement MCTargetExpr::fixELFSymbolsInTLSFixups hook
authorwanglei <wanglei@loongson.cn>
Sat, 12 Nov 2022 08:35:59 +0000 (16:35 +0800)
committerwanglei <wanglei@loongson.cn>
Sat, 12 Nov 2022 09:23:51 +0000 (17:23 +0800)
commit39b1fec15d23d9b9d5cc4e5048918043576f914b
tree7d60b78dc21cc1f5aaf413d1c98e403b710fb6e9
parente864ac694540342d5e59f59c525c5082f2594fb8
[LoongArch] Implement MCTargetExpr::fixELFSymbolsInTLSFixups hook

Reviewed By: SixWeining, MaskRay

Differential Revision: https://reviews.llvm.org/D137628
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.h
llvm/test/MC/LoongArch/Misc/tls-symbols.s [new file with mode: 0644]