diff options
author | Bob Haarman <llvm@inglorion.net> | 2019-09-25 01:19:48 +0000 |
---|---|---|
committer | Bob Haarman <llvm@inglorion.net> | 2019-09-25 01:19:48 +0000 |
commit | 9f0f36e02231e86eadaac12f74f6a86e1c5318c1 (patch) | |
tree | bb8d9b7be07363eb0bc9359af4f5721443fade57 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 4cd71260c253d59e7347d8b3398eb31b88c4bffa (diff) | |
download | bcm5719-llvm-9f0f36e02231e86eadaac12f74f6a86e1c5318c1.tar.gz bcm5719-llvm-9f0f36e02231e86eadaac12f74f6a86e1c5318c1.zip |
[ELF] accept thinlto options without --plugin-opt= prefix
Summary:
When support for ThinLTO was first added to lld, the options that
control it were prefixed with --plugin-opt= for compatibility with
an existing implementation as a linker plugin. This change enables
shorter versions of the options to be used, as follows:
New Existing
-thinlto-emit-imports-files --plugin-opt=thinlto-emit-imports-files
-thinlto-index-only --plugin-opt=thinlto-index-only
-thinlto-index-only= --plugin-opt=thinlto-index-only=
-thinlto-object-suffix-replace= --plugin-opt=thinlto-object-suffix-replace=
-thinlto-prefix-replace= --plugin-opt=thinlto-prefix-replace=
-lto-obj-path= --plugin-opt=obj-path=
The options with the --plugin-opt= prefix have been retained as aliases
for the shorter variants so that they continue to be accepted.
Reviewers: tejohnson, ruiu, espindola
Reviewed By: ruiu
Subscribers: emaste, arichardson, MaskRay, steven_wu, dexonsmith, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67782
llvm-svn: 372798
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions