Fix jumptable parsing:
authorAndrew R. Bernat <bernat@seqlac2.llnl.gov>
Thu, 18 Oct 2012 12:59:44 +0000 (05:59 -0700)
committerAndrew R. Bernat <bernat@seqlac2.llnl.gov>
Thu, 18 Oct 2012 12:59:44 +0000 (05:59 -0700)
commitdcacf698e24ede5305b6a40fdfa578325dbef7d8
treeb8863806e0e65d2d88f8526e9b44ef6cbeebc501
parenta382e03ffabe5483c268bf3466a346b73abbb32f
Fix jumptable parsing:
  1) We weren't recognizing the XLC jumptable format since it sets
     the table base before the table guard; fixed.
  2) We use slicing to identify return instructions, which was finalizing
     functions prematurely. Fixed.
12 files changed:
dyninstAPI/src/linux.C
dyninstAPI/src/parse-cfg.C
dyninstAPI/src/unix.C
instructionAPI/src/power_opcode_tables.C
parseAPI/src/Block.C
parseAPI/src/Function.C
parseAPI/src/IA_IAPI.C
parseAPI/src/IA_power.C
parseAPI/src/IA_powerDetails.C
parseAPI/src/IA_powerDetails.h
parseAPI/src/ParserDetails.C
testsuite/src/dyninst/test1_33.C