[PATCH] D87500: [DebugInfo] DISubrange support for fortran assumed size array

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 16:14:45 PDT 2020


aprantl added inline comments.


================
Comment at: llvm/include/llvm/BinaryFormat/Dwarf.h:288
+  }
+  llvm_unreachable("Invalid source language");
+}
----------------
This would trigger an unreachable for the interval (DW_LANG_lo_user, DW_LANG_hi_user). Why not just say `default: false` instead of trying to enumerate all non-Fortran languages?


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

https://reviews.llvm.org/D87500



More information about the llvm-commits mailing list