[PATCH] Support: split object format out of environment

Saleem Abdulrasool abdulras at fb.com
Tue Mar 4 11:52:20 PST 2014


Hi majnemer, chandlerc,

This is a preliminary setup change to support a renaming of Windows target
triples.  Split the object file format information out of the environment into a
separate entity.  Unfortunately, file format was previously treated as an
environment with an unknown OS.  This is most obvious in the ARM subtarget where
the handling for macho on an arbitrary platform switches to AAPCS rather than
APCS (as per Apple's needs).

http://llvm-reviews.chandlerc.com/D2946

Files:
  include/llvm/ADT/Triple.h
  lib/MC/MCObjectFileInfo.cpp
  lib/Support/Triple.cpp
  lib/Target/ARM/ARMSubtarget.cpp
  lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
  tools/llvm-jitlistener/llvm-jitlistener.cpp
  tools/llvm-objdump/llvm-objdump.cpp
  unittests/ADT/TripleTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2946.1.patch
Type: text/x-patch
Size: 10341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140304/2ad0f402/attachment.bin>


More information about the llvm-commits mailing list