llvm-project
6f2ba122 - [lldb] Synthesize data symbols for plain C globals on WebAssembly (#211301)

Commit
119 days ago
[lldb] Synthesize data symbols for plain C globals on WebAssembly (#211301) The Wasm name section names functions but not data, so LLDB recovers data symbols from the DWARF. It only did so for variables with a linkage name, such as a C++ vtable, so a plain C global, which has only a DW_AT_name, got no symbol and its address did not resolve back to a name. Use the source name when there is no linkage name.
Author
Parents
Loading