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

Marshall Clow mclow.lists at gmail.com
Thu Jun 14 17:16:17 PDT 2012


So that clients can (if they need to) get at the underlying structures in the file

Adds three new routines:

error_code getCOFFSection(section_iterator &It, const coff_section *&section) const;
error_code getCOFFSymbol(symbol_iterator &It, const coff_symbol *&symbol) const;
error_code getSymbolAuxData(const coff_symbol *symbol,  ArrayRef<uint8_t> &Data) const;

-- 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.patch
Type: application/octet-stream
Size: 2415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120614/7e0ce9db/attachment.obj>
-------------- next part --------------



More information about the llvm-commits mailing list