[llvm] Implement the DWARF 6 language and version attributes. (PR #89980)
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 24 14:01:16 PDT 2024
================
@@ -125,7 +125,20 @@ typedef enum {
LLVMDWARFSourceLanguageFortran18,
LLVMDWARFSourceLanguageAda2005,
LLVMDWARFSourceLanguageAda2012,
+ LLVMDWARFSourceLanguageHIP,
+ LLVMDWARFSourceLanguageAssembly,
+ LLVMDWARFSourceLanguageC_sharp,
LLVMDWARFSourceLanguageMojo,
+ LLVMDWARFSourceLanguageGLSL,
+ LLVMDWARFSourceLanguageGLSL_ES,
+ LLVMDWARFSourceLanguageHLSL,
+ LLVMDWARFSourceLanguageOpenCL_CPP,
+ LLVMDWARFSourceLanguageCPP_for_OpenCL,
+ LLVMDWARFSourceLanguageSYCL,
+ LLVMDWARFSourceLanguageRuby,
+ LLVMDWARFSourceLanguageMove,
+ LLVMDWARFSourceLanguageHylo,
+
----------------
adrian-prantl wrote:
I was wondering why this and the enum definition doesn't just `#include Dwarf.def` with some macro token concatenation: My _best guess_ was that the C interoperability headers might get parsed by tools that are not great at parsing CPP macros, and thus intentionally avoid bringing in `Dwarf.def`?
https://github.com/llvm/llvm-project/pull/89980
More information about the llvm-commits
mailing list