[llvm] [clang] [LLVM][DWARF] Fix accelerator table switching between CU and TU (PR #77511)
David Blaikie via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 10 14:16:38 PST 2024
================
@@ -925,6 +926,7 @@ class DwarfDebug : public DebugHandlerBase {
/// Sets the current DWARF5AccelTable to use.
void setCurrentDWARF5AccelTable(const DWARF5AccelTableKind Kind) {
+ CurrentKind = Kind;
----------------
dwblaikie wrote:
Could skip this variable and check `CurrentDebugNames == &AccelDebugNames` or similar.
https://github.com/llvm/llvm-project/pull/77511
More information about the cfe-commits
mailing list