[llvm-commits] [llvm] r135786 - /llvm/trunk/tools/llvm-objdump/MCFunction.cpp

Chris Lattner clattner at apple.com
Fri Jul 22 16:55:47 PDT 2011


On Jul 22, 2011, at 2:35 PM, Benjamin Kramer wrote:

>> 
>> Does this handle tail calls (which get compiled into a jump) properly?
> 
> Not really, but it also ignores tail calls with a relocation at the
> moment, so the loss isn't too big ;). There's still a long way to go
> here, I'll revisit this later.

Ok, very reasonable.

> In particular, I don't want to leave the cfg construction based on the
> regions defined in the symbol table. The current algorithm isn't able
> to figure that out though.
> 
> However, this change allows us to create CFGs from every .text symbol
> in every single object file in LLVM and clang without crashing.

Nice!

-Chris



More information about the llvm-commits mailing list