[PATCH] D44316: [WebAssembly] Demangle symbol names for use by the browser debugger

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 14 10:48:46 PDT 2018


dschuff added a comment.

I think the symbol table (and any names that actually have meaning to the compiler and/or linker) should be mangled names, and only the name section should have demangled names. I also think it makes sense for libObject to only use the symbol table and ignore the name section. In other words, the name section should be thought of as metadata or debug info and in that sense shouldn't be "trusted" to always be correct (although of course we should preserve it wherever we can).


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44316





More information about the llvm-commits mailing list