diff options
author | Michael Trent <mtrent@apple.com> | 2019-05-18 03:17:27 +0000 |
---|---|---|
committer | Michael Trent <mtrent@apple.com> | 2019-05-18 03:17:27 +0000 |
commit | 07c96ebd94422f1259f048cb9607ffefb183b970 (patch) | |
tree | f50d9a0fc31773bdbf25415feffd50e3de92936f /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | ed2ad77ccb00d546dc3163d5a2722a3752972508 (diff) | |
download | llvm-07c96ebd94422f1259f048cb9607ffefb183b970.zip llvm-07c96ebd94422f1259f048cb9607ffefb183b970.tar.gz llvm-07c96ebd94422f1259f048cb9607ffefb183b970.tar.bz2 |
Update llvm-nm -s to use a multi-var option
Summary:
Previously llvm-nm relied on a positional parameter to read two values
into the SegSect list. This worked, but required the "-s" paramater and
its arguments to be the last elements on the command-line.
The CommandLine library now supports mutli-var parameters, so it can
naturally deal with "-s" expecting two arguments, and now the input file
can appear anywhere (within reason) in the command line invocation. E.g.
llvm-nm -s __TEXT __text /bin/ls
llvm-nm /bin/ls -s __TEXT __text
rdar://27284011
Reviewers: lhames, pete
Reviewed By: pete
Subscribers: rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62070
llvm-svn: 361091
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions