search for: symbolerrorkind

Displaying 2 results from an estimated 2 matches for "symbolerrorkind".

2014 Apr 02
5
[LLVMdev] [lld] adding demangler for symbol resolution
...ctly to a stream. May be for now, as an initial implementation, we can have a single demangle function that returns a std::string. As part of this, I was thinking to cleanup the way the errors are displayed to the user from the Resolver, we could have functions in SymbolTable with raiseError(SymbolErrorKind, filename, symbolname) raiseError(SymbolErrorKind, filename, symbolname, filename, symbolname) SymbolErrorKind := MultipleDefinition Undefined GroupError Note (for tracing) ... > Seems like a demangling utility might be something to add at the LLVM level. Either directly to raw_ostream or a...
2014 Apr 02
5
[LLVMdev] [lld] adding demangler for symbol resolution
Hi Nick, Bigcheese, When lld is used to link C++ code, it would be required to demangle symbol names by default/user driven option. The Gnu linker has the following options :- --demangle=[style] --no-demangle I found that clang/llvm-symbolizer use __cxx_demangle function. I would think that lld also need to call the same function, and I think the way we want to demangle is to have the