[PATCH] D155684: [XCOFF] Write source language ID and CPU version ID into C_FILE symbol.

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 06:25:27 PDT 2023


shchenz added inline comments.


================
Comment at: llvm/lib/MC/XCOFFObjectWriter.cpp:1116
+    else if (FileName.ends_with_insensitive(".c"))
+      LangID = XCOFF::TB_C;
+    else
----------------
Please also handle the FORTRAN suffixs


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155684



More information about the llvm-commits mailing list