summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-10-06 15:33:28 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-10-06 15:33:28 +0000
commit6f942974223ddecce07b3faffb95dd1403cb590e (patch)
treeaa26233aa65c6cfc0a51b7c55b78376146a5365c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent32e3cb7bde066b2eaf70df050091c950956fe566 (diff)
downloadbcm5719-llvm-6f942974223ddecce07b3faffb95dd1403cb590e.tar.gz
bcm5719-llvm-6f942974223ddecce07b3faffb95dd1403cb590e.zip
[llvm-objdump] Add RAII for xar apis
Summary: xar_open and xar_iter_new require manual calls to close/free functions to deallocate resources. This makes it easy to introduce memory leaks, so add RAII struct wrappers for these resources. Reviewers: enderby, rafael, compnerd, lhames, dblaikie Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38598 llvm-svn: 315069
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud