aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-07-21 19:37:56 -0700
committerFangrui Song <i@maskray.me>2022-07-21 19:37:56 -0700
commit9742166935f48d0e84f5b721819208fbc0afae3a (patch)
tree51abb65705059a755fdc90d8c8ea30f07815c72b /clang/lib/Lex/ModuleMap.cpp
parentd805aabe8ff79c71f29c6cc957514cd9f71fc252 (diff)
downloadllvm-9742166935f48d0e84f5b721819208fbc0afae3a.zip
llvm-9742166935f48d0e84f5b721819208fbc0afae3a.tar.gz
llvm-9742166935f48d0e84f5b721819208fbc0afae3a.tar.bz2
[LoongArch] Support load/store of dso_local PIC global values
lowerGlobalAddress added by D128427 can be used for PIC. The actual condition is that the global value needs to be dso_local (a dso_preemptable one needs GOT indirection). load-store.ll has UB due to out-of-bounds load/store. Fix the UB in the variable test and add an array test. Note: NOPIC array index is currently wrong. Reviewed By: wangleiat Differential Revision: https://reviews.llvm.org/D129977
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions