Displaying 8 results from an estimated 8 matches for "coffobject".
2012 Jun 12
0
[LLVMdev] Questions about llvm/Object/COFF.h
....
> Apparently, you're supposed to write.
> for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); iter.increment(ec))
> Srsly?
> [ And - how do I go from a section_iterator to a coff_section ? ]
That part of the interface is private to COFFObject. COFFObject itself
isn't really designed to be used with the generic interface, although
I'm very open to a better design that allows this in a sane way.
> While I'm puzzling over that, I look some more, and I see:
> error_code getSection(int32_t index, const coff_section...
2012 Jun 12
4
[LLVMdev] Questions about llvm/Object/COFF.h
So, I'm trying to use this file to look inside COFF files.
Got the header. OK.
Now I want to look at the sections.
Look, there's a section iterator. I can use that!
So, I write:
for (llvm::object::section_iterator iter = Obj.begin_sections (); iter != Obj.end_sections(); ++iter )
and it doesn't compile. There's no ++ for section iterators.
Apparently, you're supposed to
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...also occurs with -mcmodel=large specified.
The exact output of the second command, llvm-rtdyld, is as follows...
Assertion failed: (Sec->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) == 0 && "BSS sections don't have contents!", file C:\llvm\llvm\lib\Object\COFFObjectFile.cpp, line 951
0x00007FF65EAA574C (0x0000000000000016 0x00007FFC73140648 0x0000007900000008 0x00000079E68EDC40), HandleAbort() + 0xC bytes(s), c:\llvm\llvm\lib\support\windows\signals.inc, line 296
0x00007FFC807B396F (0x00007FF600000016 0x0000000000000000 0x0000007900000004 0x0000000000000101),...
2012 Jun 13
1
[LLVMdev] Questions about llvm/Object/COFF.h
...supposed to write.
> > for (llvm::object::section_iterator iter = Obj.begin_sections ();
> iter != Obj.end_sections(); iter.increment(ec))
> > Srsly?
> > [ And - how do I go from a section_iterator to a coff_section ? ]
>
> That part of the interface is private to COFFObject. COFFObject itself
> isn't really designed to be used with the generic interface, although
> I'm very open to a better design that allows this in a sane way.
>
> > While I'm puzzling over that, I look some more, and I see:
> > error_code getSection(int32_t in...
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...ified.
>>
>> The exact output of the second command, llvm-rtdyld, is as follows...
>>
>> Assertion failed: (Sec->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) == 0 && "BSS sections don't have contents!", file C:\llvm\llvm\lib\Object\COFFObjectFile.cpp, line 951
>> 0x00007FF65EAA574C (0x0000000000000016 0x00007FFC73140648 0x0000007900000008 0x00000079E68EDC40), HandleAbort() + 0xC bytes(s), c:\llvm\llvm\lib\support\windows\signals.inc, line 296
>> 0x00007FFC807B396F (0x00007FF600000016 0x0000000000000000 0x0000007900000004 0x0...
2015 Oct 14
4
[cfe-dev] Orc Windows C++
...output of the second command, llvm-rtdyld, is as follows...
>> >>
>> >> Assertion failed: (Sec->Characteristics &
>> COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) == 0 && "BSS sections don't have
>> contents!", file C:\llvm\llvm\lib\Object\COFFObjectFile.cpp, line 951
>> >> 0x00007FF65EAA574C (0x0000000000000016 0x00007FFC73140648
>> 0x0000007900000008 0x00000079E68EDC40), HandleAbort() + 0xC bytes(s),
>> c:\llvm\llvm\lib\support\windows\signals.inc, line 296
>> >> 0x00007FFC807B396F (0x00007FF600000016 0x000...
2015 Oct 02
2
[cfe-dev] Orc Windows C++
Thanks for the link!
There’s some code there that looks extremely relevant to say the least.
> On 1 Oct 2015, at 19:00, Hayden Livingston <halivingston at gmail.com> wrote:
>
> Maybe looking at their code might help:
>
> https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299
>
> On Thu, Oct 1, 2015 at 10:45 AM, David
2015 Oct 19
2
[cfe-dev] Orc Windows C++
...>> The exact output of the second command, llvm-rtdyld, is as follows...
>> >>
>> >> Assertion failed: (Sec->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) == 0 && "BSS sections don't have contents!", file C:\llvm\llvm\lib\Object\COFFObjectFile.cpp, line 951
>> >> 0x00007FF65EAA574C (0x0000000000000016 0x00007FFC73140648 0x0000007900000008 0x00000079E68EDC40), HandleAbort() + 0xC bytes(s), c:\llvm\llvm\lib\support\windows\signals.inc, line 296
>> >> 0x00007FFC807B396F (0x00007FF600000016 0x0000000000000000 0x00...