diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-02-04 18:38:00 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-02-04 18:38:00 +0000 |
commit | 5745c5f54f459bdd9de36df031e697c59f2d4717 (patch) | |
tree | d84126abeb0764cd04b99977a7aa6db2a7cf8c80 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 0b3cf247c47e0ae718a5ff28195407f35f8523ac (diff) | |
download | llvm-5745c5f54f459bdd9de36df031e697c59f2d4717.zip llvm-5745c5f54f459bdd9de36df031e697c59f2d4717.tar.gz llvm-5745c5f54f459bdd9de36df031e697c59f2d4717.tar.bz2 |
[llvm-objcopy][NFC] Use StringSaver for --keep-global-symbols
Summary: Use StringSaver/BumpPtrAlloc when parsing lines from --keep-global-symbols files. This allows us to consistently use StringRef for driver options, which avoids copying the full strings for each object copied, as well as simplifies part of D57517.
Reviewers: jhenderson, evgeny777, alexshap
Subscribers: jakehehrlich
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57617
llvm-svn: 353068
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions