Details
- Reviewers
ruiu
Diff Detail
Event Timeline
lib/Driver/UniversalDriver.cpp | ||
---|---|---|
97 | I think we should flip this around, and make this more getTargetFromEmulation. It should return a tuple (pair) for architecture, format for the emulation mode. So, i386pe -> (COFF,I386), thumb2pe -> (COFF,ARMNT). This could then be used in the future to extend it for the other GNU emulations. | |
212 | Space after if. Although, this would change with the above to switch off of the format that we converted the emulation to. |
This simply dispatch to the link.exe-compatible driver, so all options except -m have to be in link.exe style. What's the point of this change?
This simply dispatch to the link.exe-compatible driver, so all options except -m have to be in link.exe style. What's the point of this change?
Yes it currently forces gnu COFF targets to use the link driver
http://reviews.llvm.org/D13933
then adds the some needed alias's to support GNU style where needed.
Or at least at the minute enough to compile a simple hello world
I think we should flip this around, and make this more getTargetFromEmulation. It should return a tuple (pair) for architecture, format for the emulation mode. So, i386pe -> (COFF,I386), thumb2pe -> (COFF,ARMNT). This could then be used in the future to extend it for the other GNU emulations.