search for: targetusesfoofeature

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

2005 Jul 11
0
[LLVMdev] Mod for using GAS with MS VC++
...l this change in the future? > This may prompt thurther normalization, on the otherhand it may not :) Yes, I think it will. :) In particular, instead of a bunch of checks based on the target, what we really want is something like this: ... in the AsmPrinter ctor... if (isDarwin) { TargetUsesFooFeature = true; TargetUsesBarFeature = true; TargetUsesBazFeature = false; } else if (isCygwin) { ... } etc. Then instead of code that looks like this: if (!forCygwin && !forDarwin && !forWindows && I->hasInternalLinkage()) O << "\t.local &quo...
2005 Jul 11
3
[LLVMdev] Mod for using GAS with MS VC++
Here is a mod to X86 that allows GAS to be used with MS Visual C++. I introduces a 'forWindows' variable like 'forCygwin' in th X86SharedAsmPrinter class. This may prompt thurther normalization, on the otherhand it may not :) Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Jul 11
2
[LLVMdev] Mod for using GAS with MS VC++
...> This may prompt thurther normalization, on the otherhand it may not :) > > Yes, I think it will. :) In particular, instead of a bunch of checks > based on the target, what we really want is something like this: > > ... in the AsmPrinter ctor... > if (isDarwin) { > TargetUsesFooFeature = true; > TargetUsesBarFeature = true; > TargetUsesBazFeature = false; > } else if (isCygwin) { > ... > } > etc. > > Then instead of code that looks like this: > > if (!forCygwin && !forDarwin && !forWindows && I->hasInternalLink...