llvm-project/lld/test/wasm/Inputs/explicit-section.ll
Sam Clegg 15006469bf [lld][WebAssembly] Fix __start/__stop symbols when combining input segments
We should be generating one __start/__stop pair per output segment
not per input segment.  The test wasn't catching this because it was
only linking a single object file.

Fixes PR41565

Differential Revision: https://reviews.llvm.org/D64148

llvm-svn: 365308
2019-07-08 10:35:08 +00:00

5 lines
146 B
LLVM

target triple = "wasm32-unknown-unknown"
@var1 = global i32 42, section "mysection", align 4
@var2 = global i32 43, section "mysection", align 4