forked from OSchip/llvm-project
Every target sets DescriptionString. Assert that.
llvm-svn: 197268
This commit is contained in:
parent
4c50d46e0c
commit
1658de9a2a
|
@ -579,6 +579,7 @@ public:
|
|||
}
|
||||
|
||||
const char *getTargetDescription() const {
|
||||
assert(DescriptionString);
|
||||
return DescriptionString;
|
||||
}
|
||||
|
||||
|
|
|
@ -69,8 +69,7 @@ TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) {
|
|||
FloatFormat = &llvm::APFloat::IEEEsingle;
|
||||
DoubleFormat = &llvm::APFloat::IEEEdouble;
|
||||
LongDoubleFormat = &llvm::APFloat::IEEEdouble;
|
||||
DescriptionString = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
|
||||
"i64:64:64-f32:32:32-f64:64:64-n32";
|
||||
DescriptionString = 0;
|
||||
UserLabelPrefix = "_";
|
||||
MCountName = "mcount";
|
||||
RegParmMax = 0;
|
||||
|
|
Loading…
Reference in New Issue