003 File Manager
Current Path:
/usr/src/contrib/llvm-project/lldb/source/Symbol
usr
/
src
/
contrib
/
llvm-project
/
lldb
/
source
/
Symbol
/
📁
..
📄
ArmUnwindInfo.cpp
(12.12 KB)
📄
Block.cpp
(16.71 KB)
📄
CompactUnwindInfo.cpp
(55.24 KB)
📄
CompileUnit.cpp
(12.25 KB)
📄
CompilerDecl.cpp
(1.72 KB)
📄
CompilerDeclContext.cpp
(2.61 KB)
📄
CompilerType.cpp
(25.46 KB)
📄
DWARFCallFrameInfo.cpp
(39.32 KB)
📄
DebugMacros.cpp
(2.01 KB)
📄
DeclVendor.cpp
(1.05 KB)
📄
Declaration.cpp
(2.59 KB)
📄
FuncUnwinders.cpp
(21.43 KB)
📄
Function.cpp
(21.76 KB)
📄
LineEntry.cpp
(8.46 KB)
📄
LineTable.cpp
(21.06 KB)
📄
LocateSymbolFile.cpp
(14.52 KB)
📄
LocateSymbolFileMacOSX.cpp
(27.02 KB)
📄
ObjectFile.cpp
(28.16 KB)
📄
PostfixExpression.cpp
(6.92 KB)
📄
Symbol.cpp
(20.61 KB)
📄
SymbolContext.cpp
(42.63 KB)
📄
SymbolFile.cpp
(8.28 KB)
📄
SymbolVendor.cpp
(2.83 KB)
📄
Symtab.cpp
(38.59 KB)
📄
Type.cpp
(33.85 KB)
📄
TypeList.cpp
(7.25 KB)
📄
TypeMap.cpp
(8.02 KB)
📄
TypeSystem.cpp
(11.62 KB)
📄
UnwindPlan.cpp
(17.8 KB)
📄
UnwindTable.cpp
(6.45 KB)
📄
Variable.cpp
(24.04 KB)
📄
VariableList.cpp
(5.45 KB)
Editing: DebugMacros.cpp
//===-- DebugMacros.cpp ---------------------------------------------------===// // // 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 "lldb/Symbol/DebugMacros.h" #include "lldb/Symbol/CompileUnit.h" using namespace lldb_private; DebugMacroEntry::DebugMacroEntry(EntryType type, uint32_t line, uint32_t debug_line_file_idx, const char *str) : m_type(type), m_line(line), m_debug_line_file_idx(debug_line_file_idx), m_str(str) {} DebugMacroEntry::DebugMacroEntry(EntryType type, const DebugMacrosSP &debug_macros_sp) : m_type(type), m_line(0), m_debug_line_file_idx(0), m_debug_macros_sp(debug_macros_sp) {} const FileSpec &DebugMacroEntry::GetFileSpec(CompileUnit *comp_unit) const { return comp_unit->GetSupportFiles().GetFileSpecAtIndex(m_debug_line_file_idx); } DebugMacroEntry DebugMacroEntry::CreateDefineEntry(uint32_t line, const char *str) { return DebugMacroEntry(DebugMacroEntry::DEFINE, line, 0, str); } DebugMacroEntry DebugMacroEntry::CreateUndefEntry(uint32_t line, const char *str) { return DebugMacroEntry(DebugMacroEntry::UNDEF, line, 0, str); } DebugMacroEntry DebugMacroEntry::CreateStartFileEntry(uint32_t line, uint32_t debug_line_file_idx) { return DebugMacroEntry(DebugMacroEntry::START_FILE, line, debug_line_file_idx, nullptr); } DebugMacroEntry DebugMacroEntry::CreateEndFileEntry() { return DebugMacroEntry(DebugMacroEntry::END_FILE, 0, 0, nullptr); } DebugMacroEntry DebugMacroEntry::CreateIndirectEntry(const DebugMacrosSP &debug_macros_sp) { return DebugMacroEntry(DebugMacroEntry::INDIRECT, debug_macros_sp); }
Upload File
Create Folder