mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-26 16:40:56 +00:00
The Wasm "name" section stores only demangled names, so the symbols ObjectFileWasm builds from it have no mangled name. Without one, the symbol table indexes neither the mangled name nor the C++ base and method name variants derived from it, so looking up a symbol by mangled name fails and breakpoints set by a template or operator name find no locations. Override SymbolFileWasm::AddSymbols to copy each function's mangled name from its DWARF DW_AT_linkage_name onto the matching symbol, matched by file address. This is confined to the Wasm symbol file, so other targets are unaffected. |
||
|---|---|---|
| .. | ||
| main.cpp | ||
| Makefile | ||
| TestCPPBreakpointLocations.py | ||