[PATCH] llvm-vtabledump: A vtable dumper

Jim Grosbach grosbach at apple.com
Fri Jul 25 00:32:28 PDT 2014


It feels roughly analogous to things like disassembly, demangling of symbol names, objc class info, debug info, etc.  all of which are handled, to greater or lesser degrees by similar tools. It's basically a Swiss Army knife of introspection of object files and their contents. 

> On Jul 24, 2014, at 9:26 PM, David Majnemer <david.majnemer at gmail.com> wrote:
> 
> It felt like it didn't belong because it wasn't an aspect of the object file per-se, Itanium VTables can appear in either COFF, MachO or ELF.
> 
> If you feel like it is a good fit, I'll move it.
> 
> 
>> On Thu, Jul 24, 2014 at 5:21 PM, Jim Grosbach <grosbach at apple.com> wrote:
>> +1
>> 
>> > On Jul 24, 2014, at 4:58 PM, Jonathan Roelofs <jonathan at codesourcery.com> wrote:
>> >
>> > It seems to me that this would belong in llvm-objdump... Is there a good reason to have this as a separate tool?
>> >
>> > Jon
>> >
>> > On 7/18/14, 11:37 AM, David Majnemer wrote:
>> >> Hi hansw, rnk, Bigcheese,
>> >>
>> >> This tool's job is to dump the vtables inside object files.  It is
>> >> currently limited to MS ABI vf- and vb-tables but it will eventually
>> >> support Itanium-style v-tables as well.
>> >>
>> >> http://reviews.llvm.org/D4584
>> >>
>> >> Files:
>> >>   test/tools/llvm-vtabledump/Inputs/trivial.obj.coff-i386
>> >>   test/tools/llvm-vtabledump/trivial.test
>> >>   tools/CMakeLists.txt
>> >>   tools/Makefile
>> >>   tools/llvm-vtabledump/CMakeLists.txt
>> >>   tools/llvm-vtabledump/Error.cpp
>> >>   tools/llvm-vtabledump/Error.h
>> >>   tools/llvm-vtabledump/LLVMBuild.txt
>> >>   tools/llvm-vtabledump/Makefile
>> >>   tools/llvm-vtabledump/llvm-vtabledump.cpp
>> >>   tools/llvm-vtabledump/llvm-vtabledump.h
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> llvm-commits mailing list
>> >> llvm-commits at cs.uiuc.edu
>> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>> >>
>> >
>> > --
>> > Jon Roelofs
>> > jonathan at codesourcery.com
>> > CodeSourcery / Mentor Embedded
>> > _______________________________________________
>> > llvm-commits mailing list
>> > llvm-commits at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140725/8b8ff10a/attachment.html>


More information about the llvm-commits mailing list