| commit | 98938f1e0a7b2ed955fbdfc06ae3277173605e02 | [log] [tgz] |
|---|---|---|
| author | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Apr 17 06:17:23 2014 +0000 |
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Apr 17 06:17:23 2014 +0000 |
| tree | 2f4618c8d3444d8c5e013ad0e6dd56252320d1f7 | |
| parent | 1614b2688632a0c0b2fe8bafc5590c11f68c5787 [diff] |
objdump: identify WoA WinCOFF/ARM correctly Since LLVM currently only supports WinCOFF, assume that the input is WinCOFF rather than another type of COFF file (ECOFF/XCOFF). If the architecture is detected as thumb (e.g. the file has a IMAGE_FILE_MACHINE_ARMNT magic) then use a triple of thumbv7-windows. This allows for objdump to properly handle WoA object files without having to specify the target triple manually. llvm-svn: 206446