[PATCH] D111966: [llvm-readobj] Add support for reading OpenBSD ELF core notes.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 29 20:20:17 PDT 2021


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Thanks!



================
Comment at: llvm/tools/llvm-readobj/ELFDumper.cpp:5455
+  if (Name.startswith("OpenBSD")) {
+    if (ELFType == ELF::ET_CORE) {
+      // OpenBSD also places the generic core notes in the OpenBSD namespace.
----------------
The two `if` can be combined


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

https://reviews.llvm.org/D111966



More information about the llvm-commits mailing list