Displaying 2 results from an estimated 2 matches for "data64bitsdirect".
2012 Mar 14
2
[LLVMdev] How to set constant pool section?
Hi,
In the document: http://llvm.org/docs/WritingAnLLVMBackend.html
described example like:
SparcTargetAsmInfo::SparcTargetAsmInfo(const SparcTargetMachine &TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.
ZeroDirective = "\t.skip\t";
CommentString = "!";
ConstantPoolSection = "\t.section \".rodata\",#alloc\n";
}
That is wrong for LLVM 3.0
In latest LLVM versions, Sparc have MC subtarget and:
SparcELFMCAsmInf...
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...h64MachOMCAsmInfo::AArch64MachOMCAsmInfo() {
+ PointerSize = 8;
+
+ Code32Directive = ".code\t32";
+ SupportsDebugInformation = true;
+ ExceptionsType = ExceptionHandling::DwarfCFI;
+
+ /*Data16bitsDirective = "\t.hword\t";
+ Data32bitsDirective = "\t.word\t";
+ Data64bitsDirective = "\t.xword\t";
+
+ UseDataRegionDirectives = true;
+
+ WeakRefDirective = "\t.weak\t";
+
+ HasLEB128 = true;
+ SupportsDebugInformation = true;
+
+ // Exceptions handling
+ ExceptionsType = ExceptionHandling::DwarfCFI;*/
+}
+
+const MCExpr *AArch64MachOMCAsmInfo::getEx...