diff options
author | Rui Ueyama <ruiu@google.com> | 2016-02-02 20:24:31 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-02-02 20:24:31 +0000 |
commit | 8a789e0204a2e03b6907ee0da45fb68fba2e0841 (patch) | |
tree | dedef06632ff340eefbf48094b581de76c99f9da /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | b8fb2ba1bb3116d7cf84c3e317968377a690d35a (diff) | |
download | bcm5719-llvm-8a789e0204a2e03b6907ee0da45fb68fba2e0841.tar.gz bcm5719-llvm-8a789e0204a2e03b6907ee0da45fb68fba2e0841.zip |
ELF: Use StringRef instead of std::string.
All MemoryBuffers for archive files are guaranteed to exist as long
as their children are used in the linker. So we don't need to copy
strings here. Thanks to Sean Silva for pointing this out.
llvm-svn: 259554
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
0 files changed, 0 insertions, 0 deletions