aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2023-10-03 13:16:16 -0700
committerGitHub <noreply@github.com>2023-10-03 13:16:16 -0700
commitafe957ea9552dac35ed21c4160b1ef63439c49cb (patch)
tree5b3613a2a9869b4dc1182720a459a90e7dd988aa /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentbe66a2f66bac159256e45ac74629625de27ed603 (diff)
downloadllvm-afe957ea9552dac35ed21c4160b1ef63439c49cb.zip
llvm-afe957ea9552dac35ed21c4160b1ef63439c49cb.tar.gz
llvm-afe957ea9552dac35ed21c4160b1ef63439c49cb.tar.bz2
[WebAssembly] Allow absolute symbols in the linking section (symbol table) (#67493)
Fixes a crash in `-Wl,-emit-relocs` where the linker was not able to write linker-synthetic absolute symbols to the symbol table. This change adds a new symbol flag (`WASM_SYMBOL_ABS`), which means that the symbol's offset is absolute and not relative to a given segment. Such symbols include `__stack_low` and `__stack_low`. Note that wasm object files never contains such symbols, only binaries linked with `-Wl,-emit-relocs`. Fixes: #67111
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions