Displaying 5 results from an estimated 5 matches for "getsectiondata".
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...+ MCSectionData *SectionData);
> +
> + void OnSymbolDataCreated(MCSymbol const *Symbol,
> + MCSymbolData *SymbolData);
These aren't used, can you just remove them and add them when they actually are
needed?
> + MCSectionData *getSectionData(MCSection const *Section = 0);
> + MCSymbolData *getSymbolData(MCSymbol const *Symbol);
> +
> + void AddFragment(MCFragment *Fragment);
This function isn't necessary, fragments see below.
> + void VisitSymbols(MCExpr const *Expr);
> +
> + void AddCommonSymbol(MCSymbol *S...
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote:
> This probably needs to be slightly tweaked to work with mainline. I don't see anything objectionable, but I think Daniel needs to review this one.
Updated patch to work with mainline.
http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94
- Michael Spencer
2010 May 07
0
[LLVMdev] MCStreamer interface
On Wed, May 5, 2010 at 5:53 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 5, 2010, at 5:22 PM, Nathan Jeffords wrote:
>>
>> The logic to handle this has to go somewhere, putting it in the MCStreamer
>> *implementation* that needs it is the most logical place. We also aim to
>> implement an assembler, it doesn't make sense to duplicate this
2010 May 06
2
[LLVMdev] MCStreamer interface
On May 5, 2010, at 5:22 PM, Nathan Jeffords wrote:
>
> The logic to handle this has to go somewhere, putting it in the MCStreamer *implementation* that needs it is the most logical place. We also aim to implement an assembler, it doesn't make sense to duplicate this logic in the compiler and the assembler parser.
>
>
> Assembly language has often been *the* intermediate
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
..., if it was
+ // undefined. This occurs with weak definitions, for example.
+ if (!SD->Symbol->isUndefined())
+ FixedValue -= Layout.getSymbolOffset(SD);
+ } else {
+ // The index is the section ordinal (1-based).
+ const MCSectionData &SymSD =
+ Asm.getSectionData(SD->getSymbol().getSection());
+ Index = SymSD.getOrdinal() + 1;
+ FixedValue += Writer->getSectionAddress(&SymSD);
+ }
+ if (IsPCRel)
+ FixedValue -= Writer->getSectionAddress(Fragment->getParent());
+
+ // The type is determined by the fixup kind.
+ Type...