aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Source.cpp
diff options
context:
space:
mode:
authorZhaoQi <zhaoqi01@loongson.cn>2025-08-19 09:48:51 +0800
committerGitHub <noreply@github.com>2025-08-19 09:48:51 +0800
commitbe3fd6ae259d39dceb6c33c70570caaa31323745 (patch)
tree2756a3ed3d928f7cf389c8be2de5b3936bb93fd3 /clang/lib/AST/ByteCode/Source.cpp
parentdb843e5d09aefb8b76924a0ff4b3f96f34fbb707 (diff)
downloadllvm-be3fd6ae259d39dceb6c33c70570caaa31323745.zip
llvm-be3fd6ae259d39dceb6c33c70570caaa31323745.tar.gz
llvm-be3fd6ae259d39dceb6c33c70570caaa31323745.tar.bz2
[LoongArch] Use section-relaxable check instead of relax feature from STI (#153792)
In some cases, such as using `lto` or `llc`, relax feature is not available from this `SubtargetInfo` (`LoongArchAsmBackend` is instantiated too early), causing loss of relocations. This commit modifiy the condition to check whether the section which contains the two symbols is relaxable. If not relaxable, no need to record relocations.
Diffstat (limited to 'clang/lib/AST/ByteCode/Source.cpp')
0 files changed, 0 insertions, 0 deletions