aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authoresmeyi <esme.yi@ibm.com>2023-07-05 01:58:18 -0400
committeresmeyi <esme.yi@ibm.com>2023-07-05 01:58:18 -0400
commit2d74cf1f247068d93a8ef7f19a40b73c61132af0 (patch)
treecca496bdfc37a1be18a6e82470b95e37fc9ba714 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parentfeafbb9fda57dc77d5349a352b8495b6ef0f1bf5 (diff)
downloadllvm-2d74cf1f247068d93a8ef7f19a40b73c61132af0.zip
llvm-2d74cf1f247068d93a8ef7f19a40b73c61132af0.tar.gz
llvm-2d74cf1f247068d93a8ef7f19a40b73c61132af0.tar.bz2
[XCOFF] Force recording a relocation for weak symbol label.
Summary: Currently, if there are multiple definitions of the same symbol declared has weak linkage, the linker may choose the wrong one when they are compiled with integrated-as. This patch fixes the issue. If the target symbol is a weak label we must not attempt to resolve the fixup directly. Emit a relocation and leave resolution of the final target address to the linker. Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D153839
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions