[PATCH] D54043: Adding debug info to support Fortran (part 1)

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 13:53:27 PST 2018


aprantl added a comment.

I'm surprised to see no patch to the IR asm writer.  Why is DIFlagRecursive not accidentally printed as DIFlagBitfield and vice versa?



================
Comment at: include/llvm/IR/DebugInfoFlags.def:58
+// used in DISubprogram's member functions
+HANDLE_DI_FLAG((1 << 30), Fortran)
+HANDLE_DI_FLAG((1 << 30)|(1 << 9), Pure)
----------------
Bit 15 really is unused. Feel free to use it instead for DIFlagFortran.


Repository:
  rL LLVM

https://reviews.llvm.org/D54043





More information about the llvm-commits mailing list