History log of /llvm-project/llvm/tools/llvm-objdump/llvm-objdump.cpp (Results 651 – 675 of 727)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 691860c2 21-Jan-2013 Jakub Staszak <kubastaszak@gmail.com>

Remove unneeded #include.

llvm-svn: 173088


# d857c1c9 10-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com>

[llvm-objdump] Emit addresses with the correct number of leading 0's.

llvm-svn: 172130


# 209565db 06-Jan-2013 Michael J. Spencer <bigcheesegs@gmail.com>

[objdump] Add --private-headers, -p.

This currently prints the ELF program headers.

llvm-svn: 171649


# a9f810b6 21-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Add a function to get the segment name of a section.

On MachO, sections also have segment names. When a tool looking at a .o file
prints a segment name, this is what they mean. In reality, a .o has

Add a function to get the segment name of a section.

On MachO, sections also have segment names. When a tool looking at a .o file
prints a segment name, this is what they mean. In reality, a .o has only one
anonymous, segment.

This patch adds a MachO only function to fetch that segment name. I named it
getSectionFinalSegmentName since the main use for the name seems to be inform
the linker with segment this section should go to.

The patch also changes MachOObjectFile::getSectionName to return just the
section name instead of computing SegmentName,SectionName.

The main difference from the previous patch is that it doesn't use
InMemoryStruct. It is extremely dangerous: if the endians match it returns
a pointer to the file buffer, if not, it returns a pointer to an internal buffer
that is overwritten in the next API call.

We should change all of this code to use
support::detail::packed_endian_specific_integral like ELF, but since these
functions only handle strings, they work with big and little endian machines
as is.

I have tested this by installing ubuntu 12.10 ppc on qemu, that is why it took
so long :-)

llvm-svn: 170838

show more ...


Revision tags: llvmorg-3.2.0
# 0f00de40 19-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Revert 170545 while I debug the ppc failures.

llvm-svn: 170547


# aa7b2780 19-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Add r170095 back.

I cannot reproduce it the failures locally, so I will keep an eye at the ppc
bots. This patch does add the change to the "Disassembly of section" message,
but that is not what was

Add r170095 back.

I cannot reproduce it the failures locally, so I will keep an eye at the ppc
bots. This patch does add the change to the "Disassembly of section" message,
but that is not what was failing on the bots.

Original message:

Add a funciton to get the segment name of a section.

On MachO, sections also have segment names. When a tool looking at a .o file
prints a segment name, this is what they mean. In reality, a .o has only one
anonymous, segment.

This patch adds a MachO only function to fetch that segment name. I named it
getSectionFinalSegmentName since the main use for the name seems to be infor
the linker with segment this section should go to.

The patch also changes MachOObjectFile::getSectionName to return just the
section name instead of computing SegmentName,SectionName.

llvm-svn: 170545

show more ...


# c859c291 13-Dec-2012 Eric Christopher <echristo@gmail.com>

Revert "Add a funciton to get the segment name of a section."

This reverts commit r170095 since it appears to be breaking the bots.

llvm-svn: 170105


# bc8016d0 13-Dec-2012 Rafael Espindola <rafael.espindola@gmail.com>

Add a funciton to get the segment name of a section.

On MachO, sections also have segment names. When a tool looking at a .o file
prints a segment name, this is what they mean. In reality, a .o has

Add a funciton to get the segment name of a section.

On MachO, sections also have segment names. When a tool looking at a .o file
prints a segment name, this is what they mean. In reality, a .o has only one,
anonymous, segment.

This patch adds a MachO only function to fetch that segment name. I named it
getSectionFinalSegmentName since the main use for the name seems to be informing
the linker with segment this section should go to.

The patch also changes MachOObjectFile::getSectionName to return just the
section name instead of computing SegmentName,SectionName.

llvm-svn: 170095

show more ...


Revision tags: llvmorg-3.2.0-rc3
# 0c6ec48d 05-Dec-2012 Michael J. Spencer <bigcheesegs@gmail.com>

Add dump of Win64 EH unwind data.

The new command line option -unwind-info dumps the Win64 EH unwind
data to the console. This is a nice feature if you need to debug
generated EH data (e.g. from LLV

Add dump of Win64 EH unwind data.

The new command line option -unwind-info dumps the Win64 EH unwind
data to the console. This is a nice feature if you need to debug
generated EH data (e.g. from LLVM). Includes a test case.

Initial patch by João Matos, extensions and rework by Kai Nacke.

llvm-svn: 169415

show more ...


# 4d88a1c2 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Sort the #include lines for tools/...

Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is inc

Sort the #include lines for tools/...

Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.

llvm-svn: 169252

show more ...


Revision tags: llvmorg-3.2.0-rc2
# 3a6808cc 20-Nov-2012 Eli Bendersky <eliben@google.com>

Add the -no-show-raw-insn option to llvm-objdump, thus making it a bit more
conformant to binutils objdump.

llvm-svn: 168393


Revision tags: llvmorg-3.2.0-rc1
# 551efd7f 28-Aug-2012 Jack Carter <jcarter@mips.com>

Some of the instructions in the Mips instruction set are revision
delimited. llvm-mc -disassemble access these through the -mattr
option.

llvm-objdump -disassemble had no such way to set the attribu

Some of the instructions in the Mips instruction set are revision
delimited. llvm-mc -disassemble access these through the -mattr
option.

llvm-objdump -disassemble had no such way to set the attribute so
some instructions were just not recognized for disassembly.

This patch accepts llvm-mc mechanism for specifying the attributes.

llvm-svn: 162781

show more ...


# af9aec0c 07-Aug-2012 Jim Grosbach <grosbach@apple.com>

Tidy up a bit.

llvm-svn: 161430


Revision tags: llvmorg-3.1.0
# fe3d005c 08-May-2012 Kevin Enderby <enderby@apple.com>

Fix it so llvm-objdump -arch does accept x86 and x86-64 as valid arch names.
PR12731. Patch by Meador Inge!

llvm-svn: 156444


Revision tags: llvmorg-3.1.0-rc3
# 28fb4fc9 03-May-2012 Pete Cooper <peter_cooper@apple.com>

PR12729: Change 'llvm-objdump' to display the available targets.

Patch by Meador Inge.

llvm-svn: 156128


Revision tags: llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# 54bfde79 02-Apr-2012 Craig Topper <craig.topper@gmail.com>

Make MCInstrInfo available to the MCInstPrinter. This will be used to remove getInstructionName and the static data it contains since the same tables are already in MCInstrInfo.

llvm-svn: 153860


# a5177e63 23-Mar-2012 Benjamin Kramer <benny.kra@googlemail.com>

Include cctype for std::isprint.

This should unbreak the msvc build.

llvm-svn: 153329


# 82803112 10-Mar-2012 Benjamin Kramer <benny.kra@googlemail.com>

Fix uses of the C99 PRI format macros not to conflict with C++11 UDLs.

llvm-svn: 152474


# fd93a595 05-Mar-2012 Jim Grosbach <grosbach@apple.com>

Make MCRegisterInfo available to the the MCInstPrinter.

Used to allow context sensitive printing of super-register or sub-register
references.

llvm-svn: 152043


# 7e4b976c 29-Feb-2012 David Meyer <pdox@google.com>

[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF.
Rename ST_External to ST_Unknown, and slightly change its semantics. It now only

[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF.
Rename ST_External to ST_Unknown, and slightly change its semantics. It now only indicates that the symbol's type
is unknown, not that the symbol is undefined. (For that, use ST_Undefined).

llvm-svn: 151696

show more ...


# 1df4b84d 28-Feb-2012 David Meyer <pdox@google.com>

In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags.

llvm-svn: 151670


# 07f0f776 03-Feb-2012 Cameron Zwarich <zwarich@apple.com>

Fix llvm-objdump disassembly for interesting Mach-O binaries, e.g. any MacOS
dylib. This regressed with r145408. I will try to make a test case and add it
so that this doesn't happen again.

llvm-svn

Fix llvm-objdump disassembly for interesting Mach-O binaries, e.g. any MacOS
dylib. This regressed with r145408. I will try to make a test case and add it
so that this doesn't happen again.

llvm-svn: 149667

show more ...


# a379b181 20-Dec-2011 David Blaikie <dblaikie@gmail.com>

Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch

llvm-svn: 146960


# cbe72fc9 29-Nov-2011 Danil Malyshev <dmalyshev@accesssoftek.com>

Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObject

Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

llvm-svn: 145408

show more ...


# 37ab257b 27-Nov-2011 Chandler Carruth <chandlerc@gmail.com>

Revert r145180 as it is causing test failures on all the bots.

Original commit message:
Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getS

Revert r145180 as it is causing test failures on all the bots.

Original commit message:
Fixed ObjectFile functions:
- getSymbolOffset() renamed as getSymbolFileOffset()
- getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile.
- added getRelocationOffset()
- fixed MachOObjectFile::getSymbolSize()
- fixed MachOObjectFile::getSymbolSection()
- fixed MachOObjectFile::getSymbolOffset() for symbols without section data.

llvm-svn: 145182

show more ...


1...<<21222324252627282930