diff options
author | Bryant Wong <llvm-commits@xorshift.org> | 2017-04-05 22:23:48 +0000 |
---|---|---|
committer | Bryant Wong <llvm-commits@xorshift.org> | 2017-04-05 22:23:48 +0000 |
commit | 77b14505aa6147d6160cd133d26433901beff6c2 (patch) | |
tree | 9ba80e6eb808d73d5a798b3d5db0eaafb4f721af /llvm/lib/MC/StringTableBuilder.cpp | |
parent | 0ce388bebb915f93a767167a70a32c5f9d21a8f6 (diff) | |
download | bcm5719-llvm-77b14505aa6147d6160cd133d26433901beff6c2.tar.gz bcm5719-llvm-77b14505aa6147d6160cd133d26433901beff6c2.zip |
[Bugpoint] Use `unique_ptr` correctly.
Moving Modules into `testMergedProgram` is incorrect (and causes segmentation
faults) since all callers expect to retain ownership. This is evidenced by the
later calls to `unique_ptr<Module>::get` in the same function.
Differential Revision: https://reviews.llvm.org/D31727
llvm-svn: 299596
Diffstat (limited to 'llvm/lib/MC/StringTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions