commit | b261c46c08d074099a2d75045c8d7687dadc58ac | [log] [tgz] |
---|---|---|
author | Vlad Tsyrklevich <vlad@tsyrklevich.net> | Tue Sep 19 02:22:48 2017 +0000 |
committer | Vlad Tsyrklevich <vlad@tsyrklevich.net> | Tue Sep 19 02:22:48 2017 +0000 |
tree | bdc5081bbe2a3183f56787622b283e527c8df9ee | |
parent | 1ef0d5a130b4bafad047b5e94e82de7d214f33d4 [diff] |
Allow public Triple deduction from ObjectFiles. Move logic that allows for Triple deduction from an ObjectFile object out of llvm-objdump.cpp into a public factory, found in the ObjectFile class. This should allow other tools in the future to use this logic without reimplementation. Patch by Mitch Phillips Differential Revision: https://reviews.llvm.org/D37719 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313605 91177308-0d34-0410-b5e6-96231b3b80d8