[cfe-commits] r105771 - /cfe/trunk/lib/Basic/Targets.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Jun 9 17:46:51 PDT 2010
Author: rafael
Date: Wed Jun 9 19:46:51 2010
New Revision: 105771
URL: http://llvm.org/viewvc/llvm-project?rev=105771&view=rev
Log:
Create a LinuxTargetInfo on ARM. This make clang correctly expand
__USER_LABEL_PREFIX__.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=105771&r1=105770&r2=105771&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jun 9 19:46:51 2010
@@ -2323,6 +2323,8 @@
case llvm::Triple::arm:
case llvm::Triple::thumb:
switch (os) {
+ case llvm::Triple::Linux:
+ return new LinuxTargetInfo<ARMTargetInfo>(T);
case llvm::Triple::Darwin:
return new DarwinARMTargetInfo(T);
case llvm::Triple::FreeBSD:
More information about the cfe-commits
mailing list