aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-02-04 18:38:00 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-02-04 18:38:00 +0000
commit5745c5f54f459bdd9de36df031e697c59f2d4717 (patch)
treed84126abeb0764cd04b99977a7aa6db2a7cf8c80 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parent0b3cf247c47e0ae718a5ff28195407f35f8523ac (diff)
downloadllvm-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