Skip to content

Commit

Permalink
wasm: enable WAVM's stack unwinding feature (#13792)
Browse files Browse the repository at this point in the history
Signed-off-by: mathetake <takeshi@tetrate.io>
  • Loading branch information
mathetake authored Oct 28, 2020
1 parent 02cbd49 commit f49c7dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazel/foreign_cc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ envoy_cmake_external(
"LLVM_DIR": "$EXT_BUILD_DEPS/copy_llvm/llvm/lib/cmake/llvm",
"WAVM_ENABLE_STATIC_LINKING": "on",
"WAVM_ENABLE_RELEASE_ASSERTS": "on",
"WAVM_ENABLE_UNWIND": "no",
"WAVM_ENABLE_UNWIND": "on",
# Workaround for the issue with statically linked libstdc++
# using -l:libstdc++.a.
"CMAKE_CXX_FLAGS": "-lstdc++ -Wno-unused-command-line-argument",
Expand All @@ -335,6 +335,7 @@ envoy_cmake_external(
static_libraries = select({
"//conditions:default": [
"libWAVM.a",
"libWAVMUnwind.a",
],
}),
deps = [":llvm"],
Expand Down

0 comments on commit f49c7dd

Please sign in to comment.