[PATCH] D155684: [XCOFF] Write source language ID and CPU version ID into C_FILE symbol.
    Esme Yi via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jul 19 21:57:39 PDT 2023
    
    
  
Esme added inline comments.
================
Comment at: llvm/lib/MC/XCOFFObjectWriter.cpp:1116
+    else if (FileName.ends_with_insensitive(".c"))
+      LangID = XCOFF::TB_C;
+    else
----------------
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?
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