[llvm-commits] PATCH: Adding accessors to llvm::Object:COFFObjectFile

Marshall Clow mclow.lists at gmail.com
Sun Jun 17 22:25:52 PDT 2012


On Jun 14, 2012, at 5:35 PM, Michael Spencer wrote:
> On Thu, Jun 14, 2012 at 5:16 PM, Marshall Clow <mclow.lists at gmail.com> wrote:
>> So that clients can (if they need to) get at the underlying structures in the file
>> 
>> Adds three new routines:
>> 
>> getCOFFSection, getCOFFSymbo and getSymbolAuxData


I missed one - 
     const coff_relocation *getCOFFRelocation(relocation_iterator &It) const;

It turns out that relocation_iterator was missing:
	DataRefImpl getRawDataRefImpl() const; 

so I added that too.

-- Marshall

Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: COFFObject-2.patch
Type: application/octet-stream
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120617/5626af98/attachment.obj>


More information about the llvm-commits mailing list