File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ set(swift_runtime_sources
5353 ImageInspectionELF.cpp
5454 ImageInspectionCOFF.cpp
5555 ImageInspectionStatic.cpp
56+ ImageInspectionWasm.cpp
5657 KeyPaths.cpp
5758 KnownMetadata.cpp
5859 Metadata.cpp
Original file line number Diff line number Diff line change 1- // ===--- ImageInspectionStatic.cpp - image inspection for static stdlib ---===//
1+ // ===------------------------------------------------------------------- ---===//
22//
33// This source file is part of the Swift.org open source project
44//
2424using namespace swift ;
2525
2626int swift::lookupSymbol (const void *address, SymbolInfo *info) {
27+ // Currently, Wasm doesn't have a standard stable ABI for exporting address <->
28+ // symbol table, it's work in progress. Also, there is no API to access such
29+ // information from Wasm binary side. It's accessible only from host VM.
30+ // See https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
31+ // Seems reasonable to use a stub for now.
2732 return 0 ;
2833}
2934
You can’t perform that action at this time.
0 commit comments