[all-commits] [llvm/llvm-project] 42e2a9: Relax language comparison when matching up C++ for...
adrian-prantl via All-commits
all-commits at lists.llvm.org
Wed Jun 16 18:21:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 42e2a90684196d6ffadf785e98ea5de0876b4a3e
https://github.com/llvm/llvm-project/commit/42e2a90684196d6ffadf785e98ea5de0876b4a3e
Author: Adrian Prantl <aprantl at apple.com>
Date: 2021-06-16 (Wed, 16 Jun 2021)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
Log Message:
-----------
Relax language comparison when matching up C++ forward decls with definitions
when dealing with -gmodules debug info.
This fixes the bot failures on Darwin.
A recent clang change (presumably https://reviews.llvm.org/D104291)
introduced a bug where .pcm files would identify themselves as
DW_LANG_C_plus_plus, but the .o that references them would identify as
DW_LANG_C_plus_plus_14. While that bug needs to be fixed, too, it
shows that the current strict comparison also isn't meaningful.
rdar://79423225
More information about the All-commits
mailing list