I just don't think that we are saving anything by making these StringRefs global variables. The strings they reference are constants anyway.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with the g_ prefixes removed.
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | ||
---|---|---|
4199 | Looks like this is the same string as above. I believe it's in scope, so we should be able to just reuse it? |
Looks like this is the same string as above. I believe it's in scope, so we should be able to just reuse it?