search for: mcsectionmacho

Displaying 16 results from an estimated 16 matches for "mcsectionmacho".

2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
....h +++ b/include/llvm/MC/MCParser/AsmParser.h @@ -17,6 +17,7 @@ #include "llvm/MC/MCParser/AsmLexer.h" #include "llvm/MC/MCParser/AsmCond.h" #include "llvm/MC/MCParser/MCAsmParser.h" +#include "llvm/MC/MCParser/MCParsedAsmOperand.h" #include "llvm/MC/MCSectionMachO.h" #include "llvm/MC/MCStreamer.h" #include "llvm/MC/MCAsmInfo.h" @@ -36,10 +37,11 @@ class TargetAsmParser; class Twine; class AsmParser : public MCAsmParser { -private: +protected: AsmLexer Lexer; MCContext &Ctx; MCStreamer &Out; +private: Source...
2011 Jul 06
1
[LLVMdev] clang-llvm exceptions problem powerpc-apple-darwin
...ith either assembler or linker errors void AsmPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const { const TargetLoweringObjectFile &TLOF = getObjFileLowering(); const MCExpr *Exp = TLOF.getExprForDwarfReference(Sym, Mang, MMI, Encoding, OutStreamer); const MCSectionMachO * SecCur = dyn_cast<MCSectionMachO> (getCurrentSection()); const MCSectionMachO * SecRef = dyn_cast<MCSectionMachO>(&Sym- >getSection()); #if 0 OutStreamer.EmitAbsValue(Exp, GetSizeOfEncodedValue(Encoding)); #elif 0 if (SecRef->getType() == MCSectionMachO::S_COALE...
2015 Aug 03
2
[LLVMdev] Unable to generate obj file using llc for bpf
...s namespace)::RewriteSymbols::ID + 40849 6 llc 0x00000001052331bb raise + 27 7 llc 0x0000000105233272 abort + 18 8 llc 0x0000000105233251 __assert_rtn + 129 9 llc 0x0000000104dd593e llvm::cast_retty<llvm::MCSectionMachO, llvm::MCSection*>::ret_type llvm::cast<llvm::MCSectionMachO, llvm::MCSection>(llvm::MCSection*) + 110 10 llc 0x0000000104dcecdb (anonymous namespace)::MCMachOStreamer::ChangeSection(llvm::MCSection*, llvm::MCExpr const*) + 75 11 llc 0x0000000104...
2010 Jul 27
3
[LLVMdev] Win32 COFF Support patch 5 (the final patch in the saga!)
...>>  #include "llvm/MC/MCAssembler.h" >>  #include "llvm/MC/MCExpr.h" >>  #include "llvm/MC/MCObjectWriter.h" >> +#include "llvm/MC/MCSectionCOFF.h" >>  #include "llvm/MC/MCSectionELF.h" >>  #include "llvm/MC/MCSectionMachO.h" >>  #include "llvm/MC/MachObjectWriter.h" >> @@ -212,6 +213,24 @@ public: >>      : ELFX86AsmBackend(T) {} >>  }; >> >> +class WindowsX86AsmBackend : public X86AsmBackend { >> +public: >> +  WindowsX86AsmBackend(const Target &T)...
2015 Aug 02
2
[LLVMdev] Unable to generate obj file using llc for bpf
Dear there, I wasn't able to generate obj file for bpf using llc: llc -march bpf -filetype=obj foo.bc Anyone knows what is the missing part in their backend? I want to make it work for my project. Thanks, Xiaochu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150802/e0b55467/attachment.html>
2010 Jul 30
0
[LLVMdev] Win32 COFF Support patch 5 (the final patch in the saga!)
..."llvm/MC/MCAssembler.h" >>>  #include "llvm/MC/MCExpr.h" >>>  #include "llvm/MC/MCObjectWriter.h" >>> +#include "llvm/MC/MCSectionCOFF.h" >>>  #include "llvm/MC/MCSectionELF.h" >>>  #include "llvm/MC/MCSectionMachO.h" >>>  #include "llvm/MC/MachObjectWriter.h" >>> @@ -212,6 +213,24 @@ public: >>>      : ELFX86AsmBackend(T) {} >>>  }; >>> >>> +class WindowsX86AsmBackend : public X86AsmBackend { >>> +public: >>> +  WindowsX86...
2010 Jul 30
2
[LLVMdev] Win32 COFF Support patch 5 (the final patch in the saga!)
...mbler.h" >>>>  #include "llvm/MC/MCExpr.h" >>>>  #include "llvm/MC/MCObjectWriter.h" >>>> +#include "llvm/MC/MCSectionCOFF.h" >>>>  #include "llvm/MC/MCSectionELF.h" >>>>  #include "llvm/MC/MCSectionMachO.h" >>>>  #include "llvm/MC/MachObjectWriter.h" >>>> @@ -212,6 +213,24 @@ public: >>>>      : ELFX86AsmBackend(T) {} >>>>  }; >>>> >>>> +class WindowsX86AsmBackend : public X86AsmBackend { >>>> +public...
2010 Jul 26
0
[LLVMdev] Win32 COFF Support patch 5 (the final patch in the saga!)
On 26 July 2010 18:08, Michael Spencer <bigcheesegs at gmail.com> wrote: > On Mon, Jul 26, 2010 at 12:04 PM, Aaron Gray <aaronngray.lists at gmail.com> > wrote: > > You probably want to add Cygwin and MinGW32 Triples as well :- > > case Triple::Win32: > > + case Triple::Cygwin: > > + case Triple::MinGW32: > > return new
2010 Jul 26
2
[LLVMdev] Win32 COFF Support patch 5 (the final patch in the saga!)
On Mon, Jul 26, 2010 at 12:04 PM, Aaron Gray <aaronngray.lists at gmail.com> wrote: > You probably want to add Cygwin and MinGW32 Triples as well :- >    case Triple::Win32: > +  case Triple::Cygwin: > +  case Triple::MinGW32: >      return new WindowsX86AsmBackend (T); > Aaron Can someone test this on those platforms? That change would effect quite a few people. -
2010 Jul 30
0
[LLVMdev] Win32 COFF Support patch 5 (the final patch in the saga!)
...t;>>>  #include "llvm/MC/MCExpr.h" >>>>>  #include "llvm/MC/MCObjectWriter.h" >>>>> +#include "llvm/MC/MCSectionCOFF.h" >>>>>  #include "llvm/MC/MCSectionELF.h" >>>>>  #include "llvm/MC/MCSectionMachO.h" >>>>>  #include "llvm/MC/MachObjectWriter.h" >>>>> @@ -212,6 +213,24 @@ public: >>>>>      : ELFX86AsmBackend(T) {} >>>>>  }; >>>>> >>>>> +class WindowsX86AsmBackend : public X86AsmBackend {...
2014 Feb 21
12
[LLVMdev] asan coverage
> > > > We may need some additional info. What kind of additional info? > I haven't put a ton of thought into > this, but I'm hoping we can either (a) use debug info as is or add some > extra (valid) debug info to support this, or (b) add an extra > debug-info-like section to instrumented binaries with the information we > need. > I'd try this data
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...b/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp +++ b/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp @@ -19,7 +19,11 @@ #include "llvm/MC/MCELFObjectWriter.h" #include "llvm/MC/MCFixupKindInfo.h" #include "llvm/MC/MCObjectWriter.h" +#include "llvm/MC/MCSectionMachO.h" +#include "llvm/MC/MCSection.h" +#include "llvm/MC/SectionKind.h" #include "llvm/Support/ELF.h" +#include "llvm/Support/MachO.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/raw_ostream.h" using namespace llvm...
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...vm-2.8/include/llvm/MC/MCParser/MCParsedAsmOperand.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSection.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSectionCOFF.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSectionELF.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSectionMachO.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCStreamer.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCSymbol.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MCValue.h -- Installing: /usr/local/llvm-2.8/include/llvm/MC/MachObjectWriter.h -- Installing: /usr/local/llvm-2.8/inclu...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams <space.ship.traveller at gmail.com> wrote: > Hi, > > I might just be doing something stupid, but when I do > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. > $ sudo make install > > I don't get the expected headers in >        /usr/local/llvm-2.8/include/llvm > > It is
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi, I might just be doing something stupid, but when I do $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. $ sudo make install I don't get the expected headers in /usr/local/llvm-2.8/include/llvm It is simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...se+Asserts build llvm[2]: Compiling MachineCSE.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeBuiltin.cpp for Release+Asserts build llvm[2]: Compiling InstrProfReader.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeCustom.cpp for Release+Asserts build llvm[2]: Compiling MCSectionMachO.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeDimension.cpp for Release+Asserts build llvm[2]: Compiling InstrProfWriter.cpp for Release+Asserts build llvm[2]: Compiling MCStreamer.cpp for Release+Asserts build llvm[3]: Compiling PDBSymbolTypeEnum.cpp for Release+Asserts build llvm[...