forked from OSchip/llvm-project
Create a LinuxTargetInfo on ARM. This make clang correctly expand
__USER_LABEL_PREFIX__. llvm-svn: 105771
This commit is contained in:
parent
4a04b467d9
commit
ad8fed53ff
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue