aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-05-07 15:46:30 +0000
committerSam Clegg <sbc@chromium.org>2019-05-07 15:46:30 +0000
commitb33fdb7768e5de5fbeb23f65d8d455e7ca88b021 (patch)
treee2aa89723f2a237383f8a92800cdbbbc06e24855 /llvm/unittests/Support/CommandLineTest.cpp
parent3044ac058bdc7ee960fb4c084d2f8affd2b9c8c4 (diff)
downloadllvm-b33fdb7768e5de5fbeb23f65d8d455e7ca88b021.zip
llvm-b33fdb7768e5de5fbeb23f65d8d455e7ca88b021.tar.gz
llvm-b33fdb7768e5de5fbeb23f65d8d455e7ca88b021.tar.bz2
[WebAssembly] Don't generate unused table entries.
When generating PIC output only relocations of type R_WASM_TABLE_INDEX_REL_SLEB should generate table entries. R_WASM_TABLE_INDEX_I32 get resolved at runtime via the auto-generated __wasm_apply_relocs functions. R_WASM_TABLE_INDEX_SLEB are not allowed in PIC code. Differential Revision: https://reviews.llvm.org/D61539 llvm-svn: 360165
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions