search for: mccodegeninfo

Displaying 5 results from an estimated 5 matches for "mccodegeninfo".

2014 Feb 27
2
[LLVMdev] Target Assembly Parser: Access to Reloc::Model
Hi Rafael, Sure, the expansion of at least .cpload should be done in the Target ELFStreamer but AFAICS it doesn't solve my initial problem. MCCodeGenInfo is not created in tools where CodeGen isn't needed (llvm-mc) and it's still not possible to access the Relocation Model in MCObjectFileInfo from the target streamer (private member). Am I missing something obvious ? There are many ways to work around this issue (some better than others th...
2014 Feb 25
2
[LLVMdev] Target Assembly Parser: Access to Reloc::Model
Some Mips macros (e.g. la[1]) and the handling of Mips directives used for Position-Independent Programming (e.g. .cpload[2]) require access to Reloc::Model from within the Assembly Parser but there doesn't seem to be a way to do it in its current form. 1) Reloc::Model is passed to MCObjectFileInfo but it's a private member of that class 2) TargetMachine is not accessible I can also
2015 Nov 18
4
Mips unconditionally uses fast-isel?
Well, 'optnone' is already not identical to -O0, and given the nature of things, probably can't be; but I am persuaded that it's reasonable for it to honor the -fast-isel option as a debugging tactic. I'll take an AI to make this happen. Thanks, --paulr P.S. One nit, the "O0 + optnone" case should not have an asterisk, the FastISel flag is not manipulated if the opt
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...eTriple.isOSDarwin()) + MAI = new AArch64MachOMCAsmInfo(); + else + MAI = new AArch64ELFMCAsmInfo(); unsigned Reg = MRI.getDwarfRegNum(AArch64::XSP, true); MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(0, Reg, 0); MAI->addInitialFrameState(Inst); @@ -77,7 +81,9 @@ static MCCodeGenInfo *createAArch64MCCodeGenInfo(StringRef TT, Reloc::Model RM, // On ELF platforms the default static relocation model has a smart enough // linker to cope with referencing external symbols defined in a shared // library. Hence DynamicNoPIC doesn't need to be promoted to PIC. - RM...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...Release+Asserts build llvm[2]: Compiling MachOObjectFile.cpp for Release+Asserts build llvm[2]: Compiling LiveRangeCalc.cpp for Release+Asserts build llvm[3]: Compiling DWARFDebugAranges.cpp for Release+Asserts build llvm[2]: Compiling MCCodeEmitter.cpp for Release+Asserts build llvm[2]: Compiling MCCodeGenInfo.cpp for Release+Asserts build llvm[3]: Compiling DWARFDebugFrame.cpp for Release+Asserts build llvm[2]: Compiling MachOUniversal.cpp for Release+Asserts build llvm[2]: Compiling MCContext.cpp for Release+Asserts build llvm[2]: Compiling LiveRangeEdit.cpp for Release+Asserts build llvm[2]: Compiling...