[PATCH] D73039: [DWARF] Make dwarf::getDwarfOffsetByteSize() a free function. NFC.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 10:29:52 PST 2020


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/include/llvm/BinaryFormat/Dwarf.h:543
+  }
+  llvm_unreachable("Invalid Format value");
+}
----------------
Cool. I hadn't realized that llvm_unreachable is constexpr.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73039/new/

https://reviews.llvm.org/D73039





More information about the llvm-commits mailing list