[dsymutil] Introduce exit helper. NFC.
authorFrederic Riss <friss@apple.com>
Wed, 5 Aug 2015 18:27:38 +0000 (18:27 +0000)
committerFrederic Riss <friss@apple.com>
Wed, 5 Aug 2015 18:27:38 +0000 (18:27 +0000)
commitd2fb7bd3d59c761b7d8cf8eb71b41eec9c12d2e5
tree1b5dc64004a4dcc2ebb70d1171147860d62fb8e8
parentcca89d34ba62b82483513be3876ab1bd30885ae6
[dsymutil] Introduce exit helper. NFC.

llvm-dsymutil will start creating temporary files in a followup
commit. To ease the correct cleanup of this files, introduce a
helper called to exit dsymutil.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244086 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/dsymutil.cpp
tools/dsymutil/dsymutil.h