[all-commits] [llvm/llvm-project] ef006e: [CodeView] Add source languages ObjC and ObjC++
Stefan Gränitz via All-commits
all-commits at lists.llvm.org
Fri Mar 17 09:10:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef006eb0bc5e8d069deee7e7d93d7cf5d55fd791
https://github.com/llvm/llvm-project/commit/ef006eb0bc5e8d069deee7e7d93d7cf5d55fd791
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2023-03-17 (Fri, 17 Mar 2023)
Changed paths:
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
M llvm/include/llvm/DebugInfo/CodeView/CodeView.h
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
M llvm/lib/DebugInfo/CodeView/EnumTables.cpp
M llvm/lib/DebugInfo/PDB/PDBExtras.cpp
M llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
M llvm/test/DebugInfo/COFF/language.ll
A llvm/test/DebugInfo/COFF/objc.ll
A llvm/test/DebugInfo/COFF/objcpp.ll
M llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp
Log Message:
-----------
[CodeView] Add source languages ObjC and ObjC++
This patch adds llvm::codeview::SourceLanguage entries, DWARF translations, and PDB source file extensions in LLVM and allow LLDB's PDB parsers to recognize them correctly.
The CV_CFL_LANG enum in the Visual Studio 2022 documentation https://learn.microsoft.com/en-us/visualstudio/debugger/debug-interface-access/cv-cfl-lang defines:
```
CV_CFL_OBJC = 0x11,
CV_CFL_OBJCXX = 0x12,
```
Since the initial commit in D24317, ObjC was emitted as C language and ObjC++ as Masm.
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D146221
More information about the All-commits
mailing list