Revert D126950 "[lld][WebAssembly] Retain data segments referenced via __start/__stop"
authorFangrui Song <i@maskray.me>
Sat, 4 Jun 2022 05:18:06 +0000 (22:18 -0700)
committerFangrui Song <i@maskray.me>
Sat, 4 Jun 2022 05:18:06 +0000 (22:18 -0700)
commit025b309631e996f48b8367a7a2fa1032fa04a77c
treeae9b8441c517957e5d3e94354937bc7809a8606f
parent15faac900d3b4fc17a04b3b9de421fab1bbe33db
Revert D126950 "[lld][WebAssembly] Retain data segments referenced via __start/__stop"

This reverts commit dcf3368e33c3a01bd21b692d3be5dc1ecee587f4.

It breaks -DLLVM_ENABLE_ASSERTIONS=on builds. In addition, the description is
incorrect about ld.lld behavior. For wasm, there should be justification to add
the new mode.
lld/test/wasm/gc-sections-startstop.s [deleted file]
lld/wasm/MarkLive.cpp