forked from OSchip/llvm-project
parent
308cfd045f
commit
fcd2389b7a
|
@ -129,7 +129,7 @@ static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts,
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Triple.getOSVersion(Maj, Min, Rev);
|
Triple.getOSVersion(Maj, Min, Rev);
|
||||||
PlatformName = Triple.getOSName();
|
PlatformName = llvm::Triple::getOSTypeName(Triple.getOS());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
// RUN: -c %s 2> %t
|
// RUN: -c %s 2> %t
|
||||||
// RUN: FileCheck --check-prefix=CHECK-COMPILE < %t %s
|
// RUN: FileCheck --check-prefix=CHECK-COMPILE < %t %s
|
||||||
//
|
//
|
||||||
// CHECK-COMPILE: clang{{.*}}" "-cc1" "-triple" "i386-apple-osx10.4.0"
|
// CHECK-COMPILE: clang{{.*}}" "-cc1" "-triple" "i386-apple-macosx10.4.0"
|
||||||
// CHECK-COMPILE: clang{{.*}}" "-cc1" "-triple" "x86_64-apple-osx10.5.0"
|
// CHECK-COMPILE: clang{{.*}}" "-cc1" "-triple" "x86_64-apple-macosx10.5.0"
|
||||||
|
|
||||||
// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### \
|
// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### \
|
||||||
// RUN: -arch i386 -Xarch_i386 -Wl,-some-linker-arg -filelist X 2> %t
|
// RUN: -arch i386 -Xarch_i386 -Wl,-some-linker-arg -filelist X 2> %t
|
||||||
|
|
Loading…
Reference in New Issue