LLVM
15.0.0git
|
#include "CodeViewDebug.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/TinyPtrVector.h"
#include "llvm/ADT/Triple.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/LexicalScopes.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/DebugInfo/CodeView/CVTypeVisitor.h"
#include "llvm/DebugInfo/CodeView/CodeViewRecordIO.h"
#include "llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h"
#include "llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h"
#include "llvm/DebugInfo/CodeView/EnumTables.h"
#include "llvm/DebugInfo/CodeView/Line.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
#include "llvm/DebugInfo/CodeView/TypeTableCollection.h"
#include "llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/BinaryStreamWriter.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstddef>
#include <iterator>
#include <limits>
Go to the source code of this file.
Classes | |
struct | llvm::CodeViewDebug::TypeLoweringScope |
struct | llvm::ClassInfo |
struct | llvm::ClassInfo::MemberInfo |
|
static |
Definition at line 500 of file CodeViewDebug.cpp.
References llvm::is_contained().
|
static |
Definition at line 1319 of file CodeViewDebug.cpp.
References llvm::DbgVariableLocation::LoadChain.
|
static |
Given a DWARF calling convention, get the CodeView equivalent.
If we don't have a translation, use the NearC convention.
Definition at line 1946 of file CodeViewDebug.cpp.
References llvm::lltok::DwarfCC.
|
static |
Definition at line 705 of file CodeViewDebug.cpp.
References llvm::MCStreamer::emitBytes(), llvm::codeview::MaxRecordLength, and S.
|
static |
Definition at line 892 of file CodeViewDebug.cpp.
References Arg, llvm::AMDGPU::HSAMD::Kernel::Key::Args, contains(), llvm::raw_ostream::flush(), i, and llvm::sys::printArg().
|
static |
Definition at line 297 of file CodeViewDebug.cpp.
References llvm::reverse(), and llvm::AMDGPU::HSAMD::Kernel::Arg::Key::TypeName.
|
static |
Return ClassOptions that should be present on both the forward declaration and the defintion of a tag type.
Definition at line 2156 of file CodeViewDebug.cpp.
References llvm::StringRef::empty(), llvm::DICompositeType::getIdentifier(), llvm::DIType::getScope(), llvm::DINode::getTag(), and llvm::None.
|
static |
Definition at line 422 of file CodeViewDebug.cpp.
References llvm::DISubroutineType::getTypeArray(), isNonTrivial(), and llvm::None.
Definition at line 258 of file CodeViewDebug.cpp.
References llvm::StringRef::empty().
|
static |
Definition at line 2143 of file CodeViewDebug.cpp.
References llvm::tgtok::Class, llvm::DINode::getTag(), and llvm_unreachable.
|
static |
Definition at line 886 of file CodeViewDebug.cpp.
References S, and llvm::codeview::GlobalTypeTableBuilder::writeLeafType().
|
static |
Definition at line 3104 of file CodeViewDebug.cpp.
References llvm::codeview::getSymbolTypeNames().
Referenced by llvm::object::ELFObjectFile< ELFT >::getSymbolFlags(), and llvm::object::XCOFFObjectFile::getSymbolNameByIndex().
Definition at line 3326 of file CodeViewDebug.cpp.
References assert(), and llvm::DINode::getTag().
|
static |
Definition at line 417 of file CodeViewDebug.cpp.
References llvm::DIType::getFlags().
Referenced by getFunctionOptions().
|
static |
Definition at line 3053 of file CodeViewDebug.cpp.
References DL.
Referenced by llvm::CodeViewDebug::beginInstruction().
|
static |
Definition at line 117 of file CodeViewDebug.cpp.
References llvm::codeview::ARM64, llvm::codeview::ARMNT, llvm::codeview::Pentium3, llvm::report_fatal_error(), llvm::codeview::X64, and x86.
Referenced by llvm::CodeViewDebug::beginModule().
|
static |
Definition at line 568 of file CodeViewDebug.cpp.
References llvm::codeview::Cobol, llvm::codeview::Cpp, D, llvm::codeview::Fortran, llvm::codeview::Java, llvm::codeview::Masm, llvm::codeview::Pascal, llvm::codeview::Rust, and llvm::codeview::Swift.
|
static |
Definition at line 1323 of file CodeViewDebug.cpp.
References llvm::DbgVariableLocation::LoadChain.
|
static |
Definition at line 814 of file CodeViewDebug.cpp.
References llvm::max(), N, and llvm::IndexedInstrProf::Version.
Definition at line 365 of file CodeViewDebug.cpp.
References i.
|
static |
Definition at line 2371 of file CodeViewDebug.cpp.
References llvm::StringRef::empty(), llvm::DICompositeType::getIdentifier(), llvm::DIType::getName(), and llvm::DIType::isForwardDecl().
Definition at line 1552 of file CodeViewDebug.cpp.
|
static |
Definition at line 2101 of file CodeViewDebug.cpp.
References llvm::DINode::FlagAccessibility, and llvm_unreachable.
|
static |
Definition at line 2123 of file CodeViewDebug.cpp.
References llvm_unreachable, and llvm::Reloc::Static.
|
static |
Definition at line 2114 of file CodeViewDebug.cpp.
References llvm::None.
|
static |
Definition at line 1892 of file CodeViewDebug.cpp.
References llvm::DINode::FlagPtrToMemberRep, llvm_unreachable, and llvm::pdb::Unknown.