Correct setting of UserLabelPrefix for MCU target.

Differential Revision: http://reviews.llvm.org/D16138

llvm-svn: 257756
This commit is contained in:
Andrey Bokhanko 2016-01-14 10:59:36 +00:00
parent 3fa2395aa5
commit 4f8867fc63
2 changed files with 2 additions and 0 deletions

View File

@ -3899,6 +3899,7 @@ public:
MCUX86_32TargetInfo(const llvm::Triple &Triple) : X86_32TargetInfo(Triple) {
LongDoubleWidth = 64;
LongDoubleFormat = &llvm::APFloat::IEEEdouble;
UserLabelPrefix = "";
}
CallingConvCheckResult checkCallingConvention(CallingConv CC) const override {

View File

@ -1,5 +1,6 @@
// RUN: %clang_cc1 -E -dM -triple i586-intel-elfiamcu | FileCheck %s
// CHECK: #define __USER_LABEL_PREFIX__ {{$}}
// CHECK: #define __iamcu
// CHECK: #define __iamcu__