Create a LinuxTargetInfo on ARM. This make clang correctly expand

__USER_LABEL_PREFIX__.

llvm-svn: 105771
This commit is contained in:
Rafael Espindola 2010-06-10 00:46:51 +00:00
parent 4a04b467d9
commit ad8fed53ff
1 changed files with 2 additions and 0 deletions

View File

@ -2323,6 +2323,8 @@ static TargetInfo *AllocateTarget(const std::string &T) {
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: