Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
@ruiu - does this look like what you want? For i386, do you want to keep the leading underscore, e.g. making __imp__foo into __declspec(dllimport) _foo, or have the demangling remove the underscore from _foo as well? This version removes that underscore, but it also changes the output for plain prefixless _foo symbols into foo.
Comment Actions
I think I prefer not to remove the leading underscore for i386 because as you wrote it makes the output ambiguous.
Comment Actions
Updated to never remove the extra leading underscore on i386 (except when demangling itanium C++ symbols).
Comment Actions
lgtm
lld/test/COFF/undefined-symbol-itanium-i386.s | ||
---|---|---|
27 ↗ | (On Diff #223166) | Fair enough. It's consistent with how we print the other x86 symbols above. (_main, _f1, etc) |