projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MC/AsmParser: Report .stabs directive as unsupported.
[oota-llvm.git]
/
lib
/
MC
/
MCAsmInfo.cpp
diff --git
a/lib/MC/MCAsmInfo.cpp
b/lib/MC/MCAsmInfo.cpp
index c15d61494ca9e31c2c05fd56e335df4f9bb65cc5..e8902e75b0633c2c23bdb4eed53bcf0c5887218c 100644
(file)
--- a/
lib/MC/MCAsmInfo.cpp
+++ b/
lib/MC/MCAsmInfo.cpp
@@
-18,17
+18,17
@@
#include <cstring>
using namespace llvm;
#include <cstring>
using namespace llvm;
-MCAsmInfo::MCAsmInfo(
bool isLittleEndian
) {
-
IsLittleEndian = isLittleEndian
;
+MCAsmInfo::MCAsmInfo() {
+
HasSubsectionsViaSymbols = false
;
HasMachoZeroFillDirective = false;
HasMachoZeroFillDirective = false;
+ HasMachoTBSSDirective = false;
HasStaticCtorDtorReferenceInStaticMode = false;
HasStaticCtorDtorReferenceInStaticMode = false;
- NonexecutableStackDirective = 0;
- NeedsSet = false;
MaxInstLength = 4;
PCSymbol = "$";
SeparatorChar = ';';
MaxInstLength = 4;
PCSymbol = "$";
SeparatorChar = ';';
- CommentColumn =
6
0;
+ CommentColumn =
4
0;
CommentString = "#";
CommentString = "#";
+ LabelSuffix = ":";
GlobalPrefix = "";
PrivateGlobalPrefix = ".";
LinkerPrivateGlobalPrefix = "";
GlobalPrefix = "";
PrivateGlobalPrefix = ".";
LinkerPrivateGlobalPrefix = "";
@@
-37,6
+37,7
@@
MCAsmInfo::MCAsmInfo(bool isLittleEndian) {
AssemblerDialect = 0;
AllowQuotesInName = false;
AllowNameToStartWithDigit = false;
AssemblerDialect = 0;
AllowQuotesInName = false;
AllowNameToStartWithDigit = false;
+ AllowPeriodsInName = true;
ZeroDirective = "\t.zero\t";
AsciiDirective = "\t.ascii\t";
AscizDirective = "\t.asciz\t";
ZeroDirective = "\t.zero\t";
AsciiDirective = "\t.ascii\t";
AscizDirective = "\t.asciz\t";
@@
-49,34
+50,29
@@
MCAsmInfo::MCAsmInfo(bool isLittleEndian) {
AlignDirective = "\t.align\t";
AlignmentIsInBytes = true;
TextAlignFillValue = 0;
AlignDirective = "\t.align\t";
AlignmentIsInBytes = true;
TextAlignFillValue = 0;
- JumpTableDirective = 0;
- PICJumpTableDirective = 0;
+ GPRel32Directive = 0;
GlobalDirective = "\t.globl\t";
GlobalDirective = "\t.globl\t";
- SetDirective = 0;
- LCOMMDirective = 0;
- COMMDirective = "\t.comm\t";
- COMMDirectiveTakesAlignment = true;
+ HasSetDirective = true;
+ HasLCOMMDirective = false;
+ COMMDirectiveAlignmentIsInBytes = true;
HasDotTypeDotSizeDirective = true;
HasSingleParameterDotFile = true;
HasDotTypeDotSizeDirective = true;
HasSingleParameterDotFile = true;
-
UsedDirective = 0
;
+
HasNoDeadStrip = false
;
WeakRefDirective = 0;
WeakDefDirective = 0;
LinkOnceDirective = 0;
WeakRefDirective = 0;
WeakDefDirective = 0;
LinkOnceDirective = 0;
- // FIXME: These are ELFish - move to ELFMAI.
- HiddenDirective = "\t.hidden\t";
- ProtectedDirective = "\t.protected\t";
- AbsoluteDebugSectionOffsets = false;
- AbsoluteEHSectionOffsets = false;
+ HiddenVisibilityAttr = MCSA_Hidden;
+ ProtectedVisibilityAttr = MCSA_Protected;
HasLEB128 = false;
HasDotLocAndDotFile = false;
SupportsDebugInformation = false;
ExceptionsType = ExceptionHandling::None;
DwarfRequiresFrameSection = true;
DwarfUsesInlineInfoSection = false;
HasLEB128 = false;
HasDotLocAndDotFile = false;
SupportsDebugInformation = false;
ExceptionsType = ExceptionHandling::None;
DwarfRequiresFrameSection = true;
DwarfUsesInlineInfoSection = false;
- Is_EHSymbolPrivate = true;
- GlobalEHDirective = 0;
- SupportsWeakOmittedEHFrame = true;
+ DwarfUsesAbsoluteLabelForStmtList = true;
DwarfSectionOffsetDirective = 0;
DwarfSectionOffsetDirective = 0;
+ DwarfUsesLabelOffsetForRanges = true;
+ HasMicrosoftFastStdCallMangling = false;
AsmTransCBE = 0;
}
AsmTransCBE = 0;
}