diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-11-21 00:35:38 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-11-21 00:35:38 +0000 |
commit | 5bc88be11ee1e838ee99028687b823a917c9ad2f (patch) | |
tree | ac400dec498f79595707fe4ec9cd3b61bc98defd /lldb/packages/Python/lldbsuite/support/__init__.py | |
parent | 638b9275d8f358dc836fd04021771704775102e2 (diff) | |
download | bcm5719-llvm-5bc88be11ee1e838ee99028687b823a917c9ad2f.tar.gz bcm5719-llvm-5bc88be11ee1e838ee99028687b823a917c9ad2f.zip |
llvm-link option and test for recent metadata mapping bug
Summary:
Add a -preserve-modules option to llvm-link that simulates LTO
clients that don't destroy modules as they are linked. This enables
reproduction of a recent bug introduced by a metadata linking change
that was only caught when the modules weren't destroyed before
writing bitcode (LTO on Windows).
See http://llvm.org/viewvc/llvm-project?view=revision&revision=253170
for more details on the original bug and the fix.
Confirmed the new test added here reproduces the failure using the new
option when I suppress the fix.
Reviewers: pcc
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D14818
llvm-svn: 253740
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/__init__.py')
0 files changed, 0 insertions, 0 deletions