Displaying 2 results from an estimated 2 matches for "useselfsectiondirectiveforbss".
2014 Sep 03
2
[LLVMdev] Enable debug for MSP430
...et/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
index df1aa1a..844db93 100644
--- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
+++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
@@ -24,4 +24,6 @@ MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
AlignmentIsInBytes = false;
UsesELFSectionDirectiveForBSS = true;
+
+ SupportsDebugInformation = true;
}
does, indeed enable debug - but NOT .debug_frame (and IIRC some of the variable range info goes missing).
it needs:
diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp
ind...
2012 Mar 14
2
[LLVMdev] How to set constant pool section?
...\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.
ZeroDirective = "\t.skip\t";
CommentString = "!";
HasLEB128 = true;
SupportsDebugInformation = true;
SunStyleELFSectionSwitchSyntax = true;
UsesELFSectionDirectiveForBSS = true;
WeakRefDirective = "\t.weak\t";
PrivateGlobalPrefix = ".L";
}
But I can not find in Sparc, or any other backend code to set
ConstantPoolSection.
I tried in my backend deriving MCAsmInfo, but it seems, that
ConstantPoolSection is not member of MCAsmInfo.
I really...