summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/StringTableBuilder.cpp
diff options
context:
space:
mode:
authorBryant Wong <llvm-commits@xorshift.org>2017-04-05 22:23:48 +0000
committerBryant Wong <llvm-commits@xorshift.org>2017-04-05 22:23:48 +0000
commit77b14505aa6147d6160cd133d26433901beff6c2 (patch)
tree9ba80e6eb808d73d5a798b3d5db0eaafb4f721af /llvm/lib/MC/StringTableBuilder.cpp
parent0ce388bebb915f93a767167a70a32c5f9d21a8f6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud