aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-12-18 10:02:29 -0800
committerSam Clegg <sbc@chromium.org>2021-01-13 07:49:39 -0800
commit07b6aeb5685fa6474cbeae797ebc5ea1f17da0f7 (patch)
treeb718dc472b0b28d38d31d5e89c1b89141f5d5582 /clang/lib/Frontend/CompilerInvocation.cpp
parent4e8e888905a4258932dcb593a5531a6329cc821a (diff)
downloadllvm-07b6aeb5685fa6474cbeae797ebc5ea1f17da0f7.zip
llvm-07b6aeb5685fa6474cbeae797ebc5ea1f17da0f7.tar.gz
llvm-07b6aeb5685fa6474cbeae797ebc5ea1f17da0f7.tar.bz2
[lld][WebAssembly] Fix for TLS + --relocatable
When running in `-r/--relocatable` we output relocations but the new TLS relocations type was missing from `ObjFile::calcNewAddend` causing this combination of inputs/flags to crash the linker. Also avoid creating tls variables in relocatable mode. These variables are only needed when linking final executables. Fixes: https://github.com/emscripten-core/emscripten/issues/12934 Fixes: PR48506 Differential Revision: https://reviews.llvm.org/D93554
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions