[all-commits] [llvm/llvm-project] 7ac1fd: [extract_symbols.py] Fix llvm-readobj options.
Simon Tatham via All-commits
all-commits at lists.llvm.org
Thu Nov 11 01:13:26 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7ac1fd0da9931be7ab787e2960357c1ce9d91479
https://github.com/llvm/llvm-project/commit/7ac1fd0da9931be7ab787e2960357c1ce9d91479
Author: Simon Tatham <simon.tatham at arm.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M llvm/utils/extract_symbols.py
Log Message:
-----------
[extract_symbols.py] Fix llvm-readobj options.
As of D105532, a couple of llvm-readobj options have slightly changed
their spellings. '-file-headers' has become '--file-header', and
'-symbols' has become '--symbols'. A modern llvm-readobj will respond
to those single-dash spellings by trying to parse them as combinations
of single-letter options, so that you get "unknown argument '-f'" for
-file-headers, and "unknown argument '-y'" for the second letter of
-symbols.
extract_symbols.py was still invoking llvm-readobj with those old
single-dash spellings. Changed them to the newly canonical ones, which
as far as I can tell still work on llvm-readobj from before the
change.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D113556
More information about the All-commits
mailing list