diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-25 06:29:36 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-04-25 06:29:36 +0000 |
commit | d4cae62fda537fe50668c45d5d7c0911cbb897ab (patch) | |
tree | a549e425ec0212c2a404c6d9a79bc56dfcc5fd97 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | f3a1acfbf75b7b94e307a6ab0e1036602b96b8fd (diff) | |
download | llvm-d4cae62fda537fe50668c45d5d7c0911cbb897ab.zip llvm-d4cae62fda537fe50668c45d5d7c0911cbb897ab.tar.gz llvm-d4cae62fda537fe50668c45d5d7c0911cbb897ab.tar.bz2 |
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.
llvm-svn: 207200
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions