[llvm-readobj] Fix another "time of check to time of use bug".
authorDavide Italiano <davide@freebsd.org>
Thu, 17 Sep 2015 22:29:58 +0000 (22:29 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 17 Sep 2015 22:29:58 +0000 (22:29 +0000)
commit919b448c2e44c6f3923350eb7b02c41786b21704
tree6f75f3e779684b62ac2e03f3555a69c8b0f2712a
parent5fab6109a3d90ee03f145343a25c3904d882bbd8
[llvm-readobj] Fix another "time of check to time of use bug".

It seems there's more copy-paste between tools than needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247954 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/basic.test [new file with mode: 0644]
tools/llvm-readobj/llvm-readobj.cpp