diff options
| author | Tamas Berghammer <tberghammer@google.com> | 2017-03-31 20:07:20 +0000 |
|---|---|---|
| committer | Tamas Berghammer <tberghammer@google.com> | 2017-03-31 20:07:20 +0000 |
| commit | af8953a0251608a7adbf02480f3fb03830e6f7e9 (patch) | |
| tree | 55cb9ca9e2a771333418394c7143d5ec4985180e /llvm/lib/IR/ModuleSummaryIndex.cpp | |
| parent | 885fa12e8a0bf02c3d4c9dc5cbe5fffdb8cc5c8b (diff) | |
| download | bcm5719-llvm-af8953a0251608a7adbf02480f3fb03830e6f7e9.tar.gz bcm5719-llvm-af8953a0251608a7adbf02480f3fb03830e6f7e9.zip | |
Do not dereference std::unique_ptr by default
Summary:
Displaying the object pointed by the unique_ptr can cause an infinite
recursion when we have a pointer loop so this change stops that
behavior. Additionally it makes the unique_ptr act more like a class
containing a pointer (what is the underlying truth) instead of some
"magic" class.
Reviewers: labath, jingham
Differential Revision: https://reviews.llvm.org/D31366
llvm-svn: 299249
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions

