LLVM 20.0.0git
PDBSymbolExe.cpp
Go to the documentation of this file.
1//===- PDBSymbolExe.cpp - ---------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
10
15
16using namespace llvm;
17using namespace llvm::pdb;
18
19void PDBSymbolExe::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }
20
22 auto Pointer = findOneChild<PDBSymbolTypePointer>();
23 if (Pointer)
24 return Pointer->getLength();
25
27 return 4;
28 return 8;
29}
virtual void dump(const PDBSymbolAnnotation &Symbol)
uint32_t getPointerByteSize() const
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
COFF::MachineTypes getMachineType(StringRef S)