search for: machotargetinfo

Displaying 3 results from an estimated 3 matches for "machotargetinfo".

2013 Jan 24
3
[LLVMdev] [lld] driver and options questions
...f you are using lld as a library and you want to programmatically create a LinkerOptions, it is unclear which options need to be set for a particular flavor. It seems like the concrete subclass of TargetInfo will ultimately hold the flavor specific options. So can DarwinDriver get a copy of the MachOTargetInfo object and set its ivars based on the command line options? Previously, I thought of LinkerOptions as the options needed by the core-linking phase (resolver), and the WriterOptions were flavor specific. Here is how I see it currently works: 1) The flavor determines the driver class instantia...
2013 Jan 24
1
[LLVMdev] [lld] driver and options questions
...lld as a library and you want to programmatically create a LinkerOptions, it is unclear which options need to be set for a particular flavor. >> >> It seems like the concrete subclass of TargetInfo will ultimately hold the flavor specific options. So can DarwinDriver get a copy of the MachOTargetInfo object and set its ivars based on the command line options? Previously, I thought of LinkerOptions as the options needed by the core-linking phase (resolver), and the WriterOptions were flavor specific. > > Not allowing Drivers to touch anything except for core args has a very > importa...
2013 Jan 24
0
[LLVMdev] [lld] driver and options questions
...re using lld as a library and you want to programmatically create a LinkerOptions, it is unclear which options need to be set for a particular flavor. > > It seems like the concrete subclass of TargetInfo will ultimately hold the flavor specific options. So can DarwinDriver get a copy of the MachOTargetInfo object and set its ivars based on the command line options? Previously, I thought of LinkerOptions as the options needed by the core-linking phase (resolver), and the WriterOptions were flavor specific. Not allowing Drivers to touch anything except for core args has a very important side effect....