Add instruction analysis and machinecode traversal helpers in preparation for control flow graph generation implementation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/llvm-cfi-verify/FileVerifier.cpp | ||
---|---|---|
132 ↗ | (On Diff #117449) | getOpcode() == Instruction::Undefined? Also, what if InstrMeta.Bad? |
171 ↗ | (On Diff #117449) | Here you don't check NextKV->second.bad but below you do, which should it be? |
tools/llvm-cfi-verify/FileVerifier.h | ||
90 ↗ | (On Diff #117449) | s/flow/fall/ |
95 ↗ | (On Diff #117449) | s/qua/que/ |
96 ↗ | (On Diff #117449) | s/instruction/method/ |
Comment Actions
Merged changes from previous in stack, updated for vlad.tsyrklevich's comments.
tools/llvm-cfi-verify/FileVerifier.cpp | ||
---|---|---|
132 ↗ | (On Diff #117449) | Made it more clear, this should only return true when the provided instruction is a trap used by CFI. |
171 ↗ | (On Diff #117449) | Should be both. Updated the unit test for this. |