[llvm-commits] [patch] Add -mtriple to LTO

Devang Patel dpatel at apple.com
Mon Aug 9 12:52:31 PDT 2010


On Aug 9, 2010, at 12:29 PM, Rafael Espindola wrote:

>> BTW, libLTO user has access to llvm::Module so it can set/reset target triple. And libLTO checks module triple. As I understand, Rafael is looking for an override to aid debugging, not a end user knob.
> 
> This is intended as a user visible thing. The user being the gold
> plugin being used in
> http://nativeclient.googlecode.com/svn/data/site/pnacl.pdf.
> 
> So, getter/setter, flag or modify the module in the plugin? :-)

Modifying module in plugin is my first preference. 
-
Devang
> 
>> -
>> Devang
> 
> Cheers,
> -- 
> Rafael Ávila de Espíndola





More information about the llvm-commits mailing list