diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-10-01 16:26:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 16:26:55 +0100 |
commit | f33564b9afaa34ffd92b754db7a5ff8ff5e60897 (patch) | |
tree | 25b269a2dad5a144b570d4952721ab6b350c2983 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 7ae3eca6572fe463ed51e82e63890eb7d77096d7 (diff) | |
download | llvm-f33564b9afaa34ffd92b754db7a5ff8ff5e60897.zip llvm-f33564b9afaa34ffd92b754db7a5ff8ff5e60897.tar.gz llvm-f33564b9afaa34ffd92b754db7a5ff8ff5e60897.tar.bz2 |
[lldb][NFCI] Remove the non-const reference Mangled::GetMangledName accessor (#161495)
We've been seen (very sporadic) lifetime issues around this area. We
noticed that `GetMangledName` has two accessors, one of which returns a
non-const reference. I audited all the callsites and no users of this
overload actually mutate the `ConstString` itself (which is a suspicious
thing to do anyway since it's just a wrapper around a `const char*`).
This patch removes the redundant overload.
rdar://161128180
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions