search for: targetloweringobjectfilemacho

Displaying 8 results from an estimated 8 matches for "targetloweringobjectfilemacho".

2011 May 07
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
...rfDebug::endFunction(llvm::MachineFunction const*)in libLLVMAsmPrinter.a(DwarfDebug.cpp.o) "typeinfo for llvm::TargetLoweringObjectFile", referenced from: typeinfo for llvm::TargetLoweringObjectFileELFin libLLVMCodeGen.a(TargetLoweringObjectFileImpl.cpp.o) typeinfo for llvm::TargetLoweringObjectFileMachOin libLLVMCodeGen.a(TargetLoweringObjectFileImpl.cpp.o) typeinfo for llvm::TargetLoweringObjectFileCOFFin libLLVMCodeGen.a(TargetLoweringObjectFileImpl.cpp.o) "llvm::GuaranteedTailCallOpt", referenced from: __ZN4llvm21GuaranteedTailCallOptE$non_lazy_ptr in libLLVMCodeGen.a(An...
2011 May 06
0
[LLVMdev] Question about linking llvm-mc when porting a new backend
...rfDebug::endFunction(llvm::MachineFunction const*)in libLLVMAsmPrinter.a(DwarfDebug.cpp.o) "typeinfo for llvm::TargetLoweringObjectFile", referenced from: typeinfo for llvm::TargetLoweringObjectFileELFin libLLVMCodeGen.a(TargetLoweringObjectFileImpl.cpp.o) typeinfo for llvm::TargetLoweringObjectFileMachOin libLLVMCodeGen.a(TargetLoweringObjectFileImpl.cpp.o) typeinfo for llvm::TargetLoweringObjectFileCOFFin libLLVMCodeGen.a(TargetLoweringObjectFileImpl.cpp.o) "llvm::GuaranteedTailCallOpt", referenced from: __ZN4llvm21GuaranteedTailCallOptE$non_lazy_ptr in libLLVMCodeGen.a(An...
2010 Jan 16
1
[LLVMdev] Build failure in llvm trunk
hi, I am trying to build the llvm trunk with make. I am trying a debug build and I am ending with the following build error. /home/rajika/projects/llvm/llvm/lib/Target/TargetLoweringObjectFile.cpp: In member function ‘virtual bool llvm::TargetLoweringObjectFileMachO::shouldEmitUsedDirectiveFor(const llvm::GlobalValue*, llvm::Mangler*) const’: /home/rajika/projects/llvm/llvm/lib/Target/TargetLoweringObjectFile.cpp:959: error: ‘NameTmp’ was not declared in this scope make[2]: *** [/home/rajika/projects/llvm/llvm-objects/lib/Target/Debug/TargetLoweringObjectFile....
2014 Aug 28
4
[LLVMdev] How to tell whether a GlobalValue is user-defined
...ant merging in LLVM. > >> >> LLVM should only put constants in mergeable sections only if (among >> other things) they require only symbols that start with 'l' or 'L'. > Not sure what you mean here. What is "requiring”? Are we talking about this code in TargetLoweringObjectFileMachO::SelectSectionForGlobal() I mean "the correspoinding symbol name will start with". > if (Kind.isMergeableConst()) { > if (Kind.isMergeableConst4()) > return FourByteConstantSection; > if (Kind.isMergeableConst8()) > return EightByteConstantSection; &g...
2014 Aug 27
2
[LLVMdev] How to tell whether a GlobalValue is user-defined
>> The literalN sections were developed long ago to support coalescing of >> unnamed constants like 9.897 in source code for architectures that could not >> embed large constants in instructions. The linker could knew how to break >> up the section (e.g. __literal8 is always 8 byte chunks) and coalesce copies >> by content. >> >> ~6 years ago we
2014 Aug 25
2
[LLVMdev] How to tell whether a GlobalValue is user-defined
.... > > diff --git a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp > b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp > index 55e1756..bf78ce1 100644 > --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp > +++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp > @@ -667,12 +667,6 @@ > TargetLoweringObjectFileMachO::getSectionForConstant(SectionKind Kind, > if (Kind.isDataRel() || Kind.isReadOnlyWithRel()) > return ConstDataSection; > > - if (Kind.isMergeableConst4()) > - return FourByteConstantSection; > - if (Kind.isMergeableConst8()) > - return EightByteConstantSection;...
2014 Aug 25
4
[LLVMdev] How to tell whether a GlobalValue is user-defined
On Aug 25, 2014, at 8:26 AM, Rafael Espíndola <rafael.espindola at gmail.com> wrote: > On 21 August 2014 19:32, Akira Hatanaka <ahatanak at gmail.com> wrote: >> Is there a way to distinguish between GlobalValues that are user-defined and >> those that are compiler-defined? I am looking for a function that I can use >> to tell if a GlobalValue is user-defined ,
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...index bf0565a..91e9d5e 100644 --- a/lib/Target/AArch64/AArch64TargetObjectFile.h +++ b/lib/Target/AArch64/AArch64TargetObjectFile.h @@ -26,6 +26,17 @@ namespace llvm { virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); }; +class AArch64MachOTargetObjectFile : public TargetLoweringObjectFileMachO { + virtual MCSymbol *getCFIPersonalitySymbol(const GlobalValue *GV, + Mangler *Mang, + MachineModuleInfo *MMI) const; + virtual const MCExpr *getTTypeGlobalReference(const GlobalValue *GV, +...