aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-03-28 13:40:48 -0700
committerFangrui Song <i@maskray.me>2022-03-28 13:40:48 -0700
commit6bdad85b26fbfd064772f2b382b27fbbf0b0afce (patch)
treebe3828ef54b937e2ed8468f8a91546f3b9ba137e /clang/lib/Frontend/CompilerInvocation.cpp
parent040c80924c7d2d65b87c75eb811d34c08db0f39d (diff)
downloadllvm-6bdad85b26fbfd064772f2b382b27fbbf0b0afce.zip
llvm-6bdad85b26fbfd064772f2b382b27fbbf0b0afce.tar.gz
llvm-6bdad85b26fbfd064772f2b382b27fbbf0b0afce.tar.bz2
[MC] Fix llvm_unreachable when a STB_GNU_UNIQUE symbol needs a relocation
STB_GNU_UNIQUE should be treated in a way similar to STB_GLOBAL. This fixes an "Invalid Binding" failure in an LLVM_ENABLE_ASSERTIONS=on build for source files like glibc elf/tst-unique1mod1.c . This bug has been benign so far because (a) Clang does not produce %gnu_unique_object by itself (b) a non-assertion build likely picks the STB_GLOBAL code path anyway.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions