diff options
author | Rui Ueyama <ruiu@google.com> | 2019-11-19 15:04:21 +0900 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2019-11-20 13:14:44 +0900 |
commit | 47feae5dd61d891d4c1382b9784738111b4f9396 (patch) | |
tree | 9511d8646db7f4a9f880fb6bea2cf3d1ba1c52c4 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp | |
parent | 86c66cea21f065a1f757cb072c544f89ce227284 (diff) | |
download | llvm-47feae5dd61d891d4c1382b9784738111b4f9396.zip llvm-47feae5dd61d891d4c1382b9784738111b4f9396.tar.gz llvm-47feae5dd61d891d4c1382b9784738111b4f9396.tar.bz2 |
Use lld::make<T> to make TpiSource objects
In lld we rarely use std::unique_ptr but instead allocate new instances
using lld::make<T>() so that they are deallocated at the end of linking.
This patch changes existing code so that that follows the convention.
Differential Revision: https://reviews.llvm.org/D70420
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions