History log of /llvm-project/llvm/tools/llvm-objdump/llvm-objdump.cpp (Results 701 – 725 of 727)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4c493e80 07-Sep-2011 James Molloy <james.molloy@arm.com>

Refactor instprinter and mcdisassembler to take a SubtargetInfo. Add -mattr= handling to llvm-mc. Reviewed by Owen Anderson.

llvm-svn: 139237


# 2bb40357 24-Aug-2011 Evan Cheng <evan.cheng@apple.com>

Move TargetRegistry and TargetSelect from Target to Support where they belong.
These are strictly utilities for registering targets and components.

llvm-svn: 138450


# 4d6c9d71 23-Aug-2011 Evan Cheng <evan.cheng@apple.com>

Some refactoring so TargetRegistry.h no longer has to include any files
from MC.

llvm-svn: 138367


# c22d50e5 08-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com>

Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions.

- Add overrides for ARM.
- Teach llvm-objdump to use this instead of plain MCInstrDesc.

llvm-sv

Add MCInstrAnalysis class. This allows the targets to specify own versions of MCInstrDescs functions.

- Add overrides for ARM.
- Teach llvm-objdump to use this instead of plain MCInstrDesc.

llvm-svn: 137059

show more ...


# 4c0423bc 08-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com>

llvm-objdump: disassembly enhancements

- Indent simple loops
- Print unreachable blocks as .byte directives

llvm-svn: 137058


# 5d173c0d 08-Aug-2011 Benjamin Kramer <benny.kra@googlemail.com>

llvm-objdump: Use help of CFG to print assembly when --cfg is passed.

This way we can avoid printing unreachable code (data).

llvm-svn: 137057


# 9ea35e47 25-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

I will save before I commit.
I will save before I commit.
I will save before I commit.
I will save before I commit.

llvm-svn: 136007


# bf115314 25-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

llvm-objdump: Ignore unreachable blocks when printing the CFG.

llvm-svn: 136000


# 61faa55b 25-Jul-2011 Evan Cheng <evan.cheng@apple.com>

Separate MCInstPrinter registration from AsmPrinter registration.

llvm-svn: 135974


# f60768a1 25-Jul-2011 Evan Cheng <evan.cheng@apple.com>

Fix last bits of MC layer issues. llvm-mc doesn't need to initialize TargetMachine's anymore.

llvm-svn: 135963


# 8c886a40 22-Jul-2011 Evan Cheng <evan.cheng@apple.com>

Combine all MC initialization routines into one. e.g. InitializeX86MCAsmInfo,
InitializeX86MCInstrInfo, etc. are combined into InitializeX86TargetMC.

llvm-svn: 135812


# 39e05ac3 22-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

llvm-objdump: Don't ignore errors from raw_fd_ostream.

llvm-svn: 135787


# 2d71c421 22-Jul-2011 Chandler Carruth <chandlerc@gmail.com>

Move the registered target printing in version strings completely out of
the Support library. Now its part of the TargetRegistry, and the three
commands that care about this explicitly register this

Move the registered target printing in version strings completely out of
the Support library. Now its part of the TargetRegistry, and the three
commands that care about this explicitly register this extra bit of
version information.

The set of commands which care was computed by intersecting those which
use the Support library's version string printing and those that
initialize all the registered targets in a way that produces
a meaningful list. The only odd ball out is that 'clang -cc1as -version'
no longer prints the registered targets. I don't think anyone is really
interested in that (especially as the fact that llvm-mc does so is under
a FIXME), but if someone really does want this back I'll happily apply
the same patch there.

llvm-svn: 135757

show more ...


# 87ee76ca 20-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

Sketch out an CFG reconstruction mode for llvm-objdump.

- Not great yet, but it's a start.
- Requires an object file with a symbol table. (I really want to fix this, but it'll need a whole new algor

Sketch out an CFG reconstruction mode for llvm-objdump.

- Not great yet, but it's a start.
- Requires an object file with a symbol table. (I really want to fix this, but it'll need a whole new algorithm)
- ELF and COFF won't work at the moment due to libObject shortcomings.

To try it out run
$ llvm-objdump -d --cfg foo.o

This will create a graphviz file for every symbol in the object file's text section containing a CFG.

llvm-svn: 135608

show more ...


# 46d9cd5f 19-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

Fix off-by-one.

llvm-svn: 135533


# 2129f596 19-Jul-2011 Evan Cheng <evan.cheng@apple.com>

Introduce MCCodeGenInfo, which keeps information that can affect codegen
(including compilation, assembly). Move relocation model Reloc::Model from
TargetMachine to MCCodeGenInfo so it's accessible e

Introduce MCCodeGenInfo, which keeps information that can affect codegen
(including compilation, assembly). Move relocation model Reloc::Model from
TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine.

llvm-svn: 135468

show more ...


# e0dda9c1 15-Jul-2011 Benjamin Kramer <benny.kra@googlemail.com>

Teach llvm-objdump to disassemble sections symbol by symbol.

llvm-svn: 135289


# 1705ab00 14-Jul-2011 Evan Cheng <evan.cheng@apple.com>

Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes.

llvm-svn: 135219


# 402339b8 06-Jul-2011 Eli Friedman <eli.friedman@gmail.com>

Remove some unnecessary includes.

llvm-svn: 134528


# ab37af9a 06-Jul-2011 Evan Cheng <evan.cheng@apple.com>

createMCInstPrinter doesn't need TargetMachine anymore.

llvm-svn: 134525


# fe6e405e 30-Jun-2011 Evan Cheng <evan.cheng@apple.com>

Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to
be the first encoded as the first feature. It then uses the CPU name to look up
features / scheduling itineray even th

Fix the ridiculous SubtargetFeatures API where it implicitly expects CPU name to
be the first encoded as the first feature. It then uses the CPU name to look up
features / scheduling itineray even though clients know full well the CPU name
being used to query these properties.

The fix is to just have the clients explictly pass the CPU name!

llvm-svn: 134127

show more ...


# 1d6167fd 25-Jun-2011 Michael J. Spencer <bigcheesegs@gmail.com>

Object: Add proper error handling.

llvm-svn: 133872


# 1a180156 23-Apr-2011 Jay Foad <jay.foad@gmail.com>

Remove unused STL header includes.

llvm-svn: 130068


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2
# 00f0cddf 21-Mar-2011 Bill Wendling <isanbard@gmail.com>

We need to pass the TargetMachine object to the InstPrinter if we are printing
the alias of an InstAlias instead of the thing being aliased. Because we need to
know the features that are valid for an

We need to pass the TargetMachine object to the InstPrinter if we are printing
the alias of an InstAlias instead of the thing being aliased. Because we need to
know the features that are valid for an InstAlias.

This is part of a work-in-progress.

llvm-svn: 127986

show more ...


Revision tags: llvmorg-2.9.0-rc1
# c6bc9008 20-Jan-2011 Michael J. Spencer <bigcheesegs@gmail.com>

llvm-objdump: Remove redundant includes.

llvm-svn: 123902


1...<<21222324252627282930