@@ -509,7 +509,7 @@ unsigned objdump::GetColumnIndent(MCSubtargetInfo const &STI,
509509
510510 // Encoding: depends on architecture
511511 if (ShowRawInsn)
512- Indent += EncodingColumnWidth (STI.getTargetTriple ());
512+ Indent += EncodingColumnWidth (STI.getTargetTriple ());
513513
514514 // Special case for assembly string: the assembly printer uses tabs, so we
515515 // need to ensure we start the instruction on a tab stop (multiple of 8).
@@ -542,7 +542,7 @@ void objdump::IndentToColumn(MCSubtargetInfo const &STI,
542542 if (Col == DisassemblyColumn::Assembly) {
543543 TargetIndent -= 1 ;
544544 if (TargetIndent < CurrentIndent)
545- TargetIndent = alignTo (CurrentIndent + 1 , 8 ) - 1 ;
545+ TargetIndent = alignTo (CurrentIndent + 1 , 8 ) - 1 ;
546546 }
547547
548548 if (TargetIndent > CurrentIndent)
@@ -1358,14 +1358,12 @@ collectBBAddrMapLabels(const std::unordered_map<uint64_t, BBAddrMap> &AddrToBBAd
13581358 }
13591359}
13601360
1361- static void
1362- collectLocalBranchTargets (ArrayRef<uint8_t > Bytes, MCInstrAnalysis *MIA,
1363- MCDisassembler *DisAsm, MCInstPrinter *IP,
1364- const MCSubtargetInfo *STI, uint64_t SectionAddr,
1365- uint64_t Start, uint64_t End,
1366- std::unordered_map<uint64_t , std::string> &Labels,
1367- ControlFlowPrinter &CFP,
1368- std::vector<RelocationRef> &Relocs) {
1361+ static void collectLocalBranchTargets (
1362+ ArrayRef<uint8_t > Bytes, MCInstrAnalysis *MIA, MCDisassembler *DisAsm,
1363+ MCInstPrinter *IP, const MCSubtargetInfo *STI, uint64_t SectionAddr,
1364+ uint64_t Start, uint64_t End,
1365+ std::unordered_map<uint64_t , std::string> &Labels, ControlFlowPrinter &CFP,
1366+ std::vector<RelocationRef> &Relocs) {
13691367 if (MIA)
13701368 MIA->resetState ();
13711369
@@ -1951,7 +1949,6 @@ disassembleObject(ObjectFile &Obj, const ObjectFile &DbgObj,
19511949 Start -= SectionAddr;
19521950 End -= SectionAddr;
19531951
1954-
19551952 formatted_raw_ostream FOS (outs ());
19561953
19571954 if (!PrintedSection) {
@@ -3393,7 +3390,8 @@ static void parseObjdumpOptions(const llvm::opt::InputArgList &InputArgs) {
33933390 if (DisassemblyColor == ColorOutput::Invalid)
33943391 invalidArgValue (A);
33953392 }
3396- if (const opt::Arg *A = InputArgs.getLastArg (OBJDUMP_visualize_jumps, OBJDUMP_visualize_jumps_EQ)) {
3393+ if (const opt::Arg *A = InputArgs.getLastArg (OBJDUMP_visualize_jumps,
3394+ OBJDUMP_visualize_jumps_EQ)) {
33973395 if (A->getOption ().matches (OBJDUMP_visualize_jumps)) {
33983396 // --visualize-jumps without an argument default to unicode, auto-color.
33993397 VisualizeJumps = VisualizeJumpsMode::GetDefault ();
@@ -3422,7 +3420,6 @@ static void parseObjdumpOptions(const llvm::opt::InputArgList &InputArgs) {
34223420 }
34233421 }
34243422
3425-
34263423 VisualizeJumps = VisualizeJumpsMode (Chars, Color);
34273424 }
34283425
0 commit comments