summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-25 06:29:36 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-25 06:29:36 +0000
commit64b54708667aef1ec4a0e19067f89876f7dde048 (patch)
tree6157fbbcaeffc06adca7428605d5a3d86d8713c1 /lib/Bitcode/Reader/BitcodeReader.cpp
parent53258e6f9e6a884597200718358e9d500c9fc9d7 (diff)
downloadllvm-64b54708667aef1ec4a0e19067f89876f7dde048.tar.gz
llvm-64b54708667aef1ec4a0e19067f89876f7dde048.tar.bz2
llvm-64b54708667aef1ec4a0e19067f89876f7dde048.tar.xz
X86: convert object streamer selection to a switch
Change the object streamer selection to a switch from a series of if conditions. Rather than defaulting to ELF, require that an ELF format is requested. The Windows/!ELF is maintained as MachO would have been selected first and will still provide a MachO format. Add an assertion that if COFF is requested that the target platform is Windows as only WinCOFF object emission is currently supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions