cl::desc("Disable if-conversion pass"));
static const MCAsmInfo *createMCAsmInfo(const Target &T,
- const StringRef &TT) {
+ const StringRef &TT) {
Triple TheTriple(TT);
switch (TheTriple.getOS()) {
case Triple::Darwin:
- return new ARMDarwinMCAsmInfo();
+ return new ARMMCAsmInfoDarwin();
default:
return new ARMELFMCAsmInfo();
}
// Register the target.
RegisterTargetMachine<ARMTargetMachine> X(TheARMTarget);
RegisterTargetMachine<ThumbTargetMachine> Y(TheThumbTarget);
-
+
// Register the target asm info.
RegisterAsmInfoFn A(TheARMTarget, createMCAsmInfo);
RegisterAsmInfoFn B(TheThumbTarget, createMCAsmInfo);