[PATCH] D111388: [WebAssembly] Make EH work with dynamic linking

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 8 01:17:23 PDT 2021


aheejin added inline comments.


================
Comment at: lld/test/wasm/tag-section.ll:14
+; RUN: llc -filetype=obj -wasm-enable-eh -exception-model=wasm -mattr=+exception-handling -relocation-model=pic %s -o %t.o
+; RUN: wasm-ld --import-undefined --experimental-pic -pie -o %t.wasm %t.o %t1.o %t2.o
+; RUN: obj2yaml %t.wasm | FileCheck %s --check-prefix=PIC
----------------
I'm not very sure what each of `--experimental-pic` and `-pie` does... Without `--experimental-pic` this doesn't work and without `-pie` it emits a warning, so I ended up putting both. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111388/new/

https://reviews.llvm.org/D111388



More information about the llvm-commits mailing list