[llvm] [CodeView] Read and dump LF_ALIAS (PR #218243)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 21:36:33 PDT 2026
================
@@ -0,0 +1,83 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/DebugInfo/PDB/Native/NativeTypeTypedefAlias.h"
+#include "llvm/DebugInfo/PDB/Native/NativeSession.h"
+#include "llvm/DebugInfo/PDB/PDBExtras.h"
+
+using namespace llvm;
+using namespace llvm::codeview;
+using namespace llvm::pdb;
+
+NativeTypeTypedefAlias::NativeTypeTypedefAlias(NativeSession &Session,
+ SymIndexId Id,
+ TypeIndex /* TI */,
+ codeview::AliasRecord Typedef)
+ : NativeRawSymbol(Session, PDB_SymType::Typedef, Id),
+ Record(std::move(Typedef)) {}
+
+NativeTypeTypedefAlias::NativeTypeTypedefAlias(
+ NativeSession &Session, SymIndexId Id,
+ NativeTypeTypedefAlias &UnmodifiedType, codeview::ModifierRecord Modifier)
----------------
rnk wrote:
This seems like dead functionality, perhaps exercised by the original PR. I would leave it out of scope if you don't need it for the core parsing / dumping code.
https://github.com/llvm/llvm-project/pull/218243
More information about the llvm-commits
mailing list