Instead of returning an optional, just return the input string if demangling fails, as that's what all callers use anyway.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D68015
[LLD] Simplify the demangleItanium function. NFC. ClosedPublic Authored by mstorsjo on Sep 25 2019, 3:48 AM.
Details Summary Instead of returning an optional, just return the input string if demangling fails, as that's what all callers use anyway.
Diff Detail
Event TimelineHerald added subscribers: erik.pilkington, aheejin, arichardson and 2 others. · View Herald Transcript This revision is now accepted and ready to land.Sep 25 2019, 4:25 AM Closed by commit rL373077: [LLD] Simplify the demangleItanium function. NFC. (authored by mstorsjo). · Explain WhySep 27 2019, 5:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 222144 lld/trunk/Common/Strings.cpp
lld/trunk/ELF/SymbolTable.cpp
lld/trunk/ELF/Symbols.cpp
lld/trunk/include/lld/Common/Strings.h
lld/trunk/wasm/Symbols.cpp
|