[llvm] [NFC] Separate UnwindTable from DebugFrame into a different type (PR #142521)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 25 15:58:14 PDT 2025
================
@@ -0,0 +1,378 @@
+//===- DWARFUnwindTable.h ----------------------------------------*- C++-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_DEBUGINFO_DWARF_DWARFUNWINDTABLE_H
+#define LLVM_DEBUGINFO_DWARF_DWARFUNWINDTABLE_H
+
+#include "llvm/DebugInfo/DWARF/DWARFCFIProgram.h"
+#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
+#include "llvm/Support/Compiler.h"
+#include "llvm/Support/Error.h"
+#include <map>
+#include <vector>
+
+namespace llvm {
+
+namespace dwarf {
+constexpr uint32_t InvalidRegisterNumber = UINT32_MAX;
+
+/// A class that represents a location for the Call Frame Address (CFA) or a
+/// register. This is decoded from the DWARF Call Frame Information
+/// instructions and put into an UnwindRow.
+class UnwindLocation {
----------------
dwblaikie wrote:
Might've just had this open at an old version of the patch or something - or github was jus tbeing weird. I went back and forth to check a few times, and it seemed to only show 7 commits and looked as though these pieces were duplicated, not moved.
but it seems to be showing something better now...
https://github.com/llvm/llvm-project/pull/142521
More information about the llvm-commits
mailing list