[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 22:06:56 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
----------------
Esme wrote:
> shchenz wrote:
> > Please also handle the FORTRAN suffixs
> Thanks!
> However I'm not quite sure what suffixes the system's assembler would judge as FORTRAN?
Check here: https://www.ibm.com/docs/en/openxl-fortran-aix/17.1.0?topic=fortran-open-xl-input-output-files


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