aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/SourceCodeBuildersTest.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2020-12-10 16:40:08 -0800
committerDerek Schuff <dschuff@chromium.org>2020-12-10 16:43:59 -0800
commit8d396acac3bc21f688ac707bb42e4698dbdcab7e (patch)
treecc8d611e3c36fb52c0c214bfd15bf99af5445998 /clang/unittests/Tooling/SourceCodeBuildersTest.cpp
parent5dad062d7eb4bcae2f5e7fb6504a7be9757700c8 (diff)
downloadllvm-8d396acac3bc21f688ac707bb42e4698dbdcab7e.zip
llvm-8d396acac3bc21f688ac707bb42e4698dbdcab7e.tar.gz
llvm-8d396acac3bc21f688ac707bb42e4698dbdcab7e.tar.bz2
[WebAssembly] Support COMDAT sections in assembly syntax
This CL changes the asm syntax for section flags, making them more like ELF (previously "passive" was the only option). Now we also allow "G" to designate COMDAT group sections. In these sections we set the appropriate comdat flag on function symbols, and also avoid auto-creating a new section for them. This also adds asm-based tests for the changes D92691 to go along with the direct-to-object tests. Differential Revision: https://reviews.llvm.org/D92952 This is a reland of rG4564553b8d8a with a fix to the lit pipeline in llvm/test/MC/WebAssembly/comdat.ll
Diffstat (limited to 'clang/unittests/Tooling/SourceCodeBuildersTest.cpp')
0 files changed, 0 insertions, 0 deletions