Commit 042eb048 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

[llvm-objdump] Add llvm_unreachable to silence GCC warning. NFC.

GCC 7 warned about control reaching the end of the non-void function,
despite all 7 LineChar values being handled in the switch.
parent 161f70ea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -798,6 +798,7 @@ public:
    case LineChar::LabelHoriz:
      return IsASCII ? "-" : "─";
    }
    llvm_unreachable("Unexpected LineChar");
  }

  /// Print live ranges to the right of an existing line. This assumes the