compiler construction - Export C/C++ switch/case jump table information -
in c/c++ on x86-64, if switch/case statement relatively large (more 3 or 4 entries), jump table generated llvm, instead of conditional jump instructions.
in clang/llvm, how export these tables' base, index, , scale information? program source code available.
for example, jmpq *0x400000(,%rbx,8)
,
how export base 0x400000
, index value compared value in %rbx
, , scale 8
?
Comments
Post a Comment