aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-02-23 22:23:05 -0800
committerSam Clegg <sbc@chromium.org>2022-02-25 07:13:15 -0800
commit4c75521ce0b1ac55fba1a91ef5156fc811f5dfcb (patch)
tree1a5ff97789d1dfad4325ee9a877ca0763e55b122 /clang/lib/Frontend/CompilerInvocation.cpp
parentdb7b1af8ef8f59600cbb6e529164acdbe4c8f0a2 (diff)
downloadllvm-4c75521ce0b1ac55fba1a91ef5156fc811f5dfcb.zip
llvm-4c75521ce0b1ac55fba1a91ef5156fc811f5dfcb.tar.gz
llvm-4c75521ce0b1ac55fba1a91ef5156fc811f5dfcb.tar.bz2
[MC][WebAssembly] Fix crash when relocation addend underlows U32
For the object file writer we need to allow the underflow (ar write zero), but for the final linker output we should probably generate an error (I've left that as a TODO for now). Fixes: https://github.com/llvm/llvm-project/issues/54012 Differential Revision: https://reviews.llvm.org/D120522
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions