[llvm] [llvm-objdump] Add the --visualize-jumps option (PR #74858)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 01:01:43 PST 2023
================
@@ -471,32 +473,92 @@ static bool getHidden(RelocationRef RelRef) {
return false;
}
-/// Get the column at which we want to start printing the instruction
-/// disassembly, taking into account anything which appears to the left of it.
-unsigned objdump::getInstStartColumn(const MCSubtargetInfo &STI) {
- return !ShowRawInsn ? 16 : STI.getTargetTriple().isX86() ? 40 : 24;
+static int ControlFlowColumnWidth = 0;
----------------
jh7370 wrote:
Can a column width be negative? If not, this should be a `size_t`.
https://github.com/llvm/llvm-project/pull/74858
More information about the llvm-commits
mailing list