/llvm-project/lldb/test/API/functionalities/module_cache/debug_index/ |
H A D | exe.yaml | 1 --- !ELF 4 Data: ELFDATA2LSB 9 - 'Apple clang version 13.0.0 (clang-1300.0.29.3)' 10 - main.mm 11 … - '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' 12 - MacOSX.sdk 13 - '/tmp/test' 14 - g_global 15 - int 16 - SimpleClass [all …]
|
/llvm-project/lldb/unittests/Symbol/Inputs/ |
H A D | inlined-functions.yaml | 1 --- !mach-o 12 - cmd: LC_SEGMENT_64 24 - sectname: __text 36 - sectname: __debug_str 48 - sectname: __debug_abbrev 60 - sectname: __debug_info 72 - sectname: __compact_unwind 84 - sectname: __debug_line 96 - cmd: LC_BUILD_VERSION 102 - cmd: LC_SYMTAB [all …]
|
/llvm-project/lldb/test/Shell/Commands/ |
H A D | command-image-lookup.yaml | 1 # RUN: yaml2obj %s -o %T/a.out 2 # RUN: %lldb %T/a.out -o "image lookup --verbose --address 0x0000000100003fa1" -o exit | FileCheck … 3 # RUN: %lldb %T/a.out -o "image lookup --verbose --address 0x0000000100003fa2" -o exit | FileCheck … 4 # RUN: %lldb %T/a.out -o "image lookup --verbose --address 0x0000000100003fa8" -o exit | FileCheck … 7 # NOINLINE-NEXT: Module: file = 10 # INLINE_1-NEXT: a.out`main + 34 at main.cpp:11 11 # INLINE_1-NEXT: Module: file = 14 # INLINE_2-NEXT: a.out`main + 40 [inlined] squares(int, int) + 6 at main.cpp:7 15 # INLINE_2-NEXT: a.out`main + 34 at main.cpp:11 16 # INLINE_2-NEXT: Module: file = [all …]
|
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/Inputs/ |
H A D | inlined-file0-line0-col0.yaml | 1 --- !mach-o 12 - cmd: LC_SEGMENT_64 24 - sectname: __text 38 - address: 0x1B 46 - address: 0xF 54 - address: 0x6 62 - sectname: __data 75 - sectname: __debug_abbrev 87 - sectname: __debug_info 100 - address: 0x11B [all …]
|
/llvm-project/llvm/test/tools/llvm-gsymutil/X86/ |
H A D | mach-dwarf.yaml | 1 ## Test loading a skinny mach-o file with DWARF. First we make the mach-o file, 5 # RUN: yaml2obj %s -o %t 6 # RUN: llvm-gsymutil --convert %t -o %t.gsym 2>&1 | FileCheck %s --check-prefix=CONVERT 7 …lvm-gsymutil --address=0 --address=0x100000000 --address=0x100000f90 --address=0x100000faa --addre… 8 # RUN: llvm-gsymutil --verbose --address=0x100000000 --address=0x100000f90 --address=0x100000faa %t… 9 # RUN: llvm-gsymutil %t.gsym 2>&1 | FileCheck %s --check-prefix=DUMP 18 # ADDR-NEXT: 0x0000000000000000: error: address 0x0 is not in GSYM 19 # ADDR-NEXT: 0x0000000100000000: error: address 0x100000000 is not in GSYM 20 # ADDR-NEXT: 0x0000000100000f90: main @ /tmp/main.cpp:4 21 # ADDR-NEXT: 0x0000000100000faa: _Z3fooi @ /tmp/main.cpp:2 [inlined] [all …]
|
H A D | elf-empty-dir.yaml | 3 # RUN: yaml2obj %s -o %t 4 # RUN: llvm-gsymutil --convert %t -o %t.gsym --segment-size=100000 --quiet 2>&1 | FileCheck %s --ch… 10 --- !ELF 13 Data: ELFDATA2LSB 18 - '' 19 - main.cpp 20 - foo 22 - ID: 0 24 - Code: 0x1 28 - Attribute: DW_AT_name [all …]
|
/llvm-project/llvm/test/tools/llvm-objcopy/MachO/Inputs/ |
H A D | strip-all-with-dwarf.yaml | 1 --- !mach-o 12 - cmd: LC_SEGMENT_64 24 - sectname: __text 37 - address: 0x0 45 - address: 0x0 53 - sectname: __data 65 - sectname: __debug_str 77 - sectname: __debug_abbrev 89 - sectname: __debug_info 102 - address: 0x0 [all …]
|
/llvm-project/llvm/test/ObjectYAML/MachO/ |
H A D | DWARF-debug_line.yaml | 3 --- !mach-o 14 - cmd: LC_UUID 16 uuid: B4D48511-37F4-3ED4-AFA7-1683DCE69AC4 17 - cmd: LC_SYMTAB 23 - cmd: LC_SEGMENT_64 34 - cmd: LC_SEGMENT_64 46 - sectname: __text 58 - sectname: __stubs 70 - sectname: __stub_helper 82 - sectname: __cstring [all …]
|
H A D | DWARF5-debug_info.yaml | 2 ## section in object files from the DWARF entry of Mach-O YAML inputs. 7 # RUN: yaml2obj --docnum=1 %s | obj2yaml | FileCheck %s --check-prefix=DWARF32 9 --- !mach-o 20 - cmd: LC_SEGMENT_64 31 - cmd: LC_SEGMENT_64 43 - sectname: __text 55 - sectname: __stubs 67 - sectname: __stub_helper 79 - sectname: __cstring 91 - sectname: __unwind_info [all …]
|
/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFFormValue.cpp | 1 //===- DWARFFormValue.cpp --------- 110 skipValue(dwarf::Form Form,DataExtractor DebugInfoData,uint64_t * OffsetPtr,const dwarf::FormParams Params) skipValue() argument 220 extractValue(const DWARFDataExtractor & Data,uint64_t * OffsetPtr,dwarf::FormParams FP,const DWARFContext * Ctx,const DWARFUnit * CU) extractValue() argument 641 getAsSectionedAddress(const ValueType & Value,const dwarf::Form Form,const DWARFUnit * U) getAsSectionedAddress() argument 761 doesFormBelongToClass(dwarf::Form Form,DWARFFormValue::FormClass FC,uint16_t DwarfVersion) doesFormBelongToClass() argument [all...] |
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/ |
H A D | dead-code-filtering.yaml | 2 # RUN: lldb-test symbols %t | FileCheck %s --check-prefix=TEST 3 # RUN: %lldb %t -o "image dump line-table a.c" -o "image lookup -n _start" -o "image lookup -n f" -… 6 # TEST-NEXT: CompileUnit{0x00000000}, language = "c", file = 'a.c' 7 # TEST-NEXT: Function{0x00000043}, demangled = _start, type_uid = 0x00000043 8 # TEST-NEXT: Block{0x00000043}, ranges = [0x00000080-0x00000086) 9 # TEST-EMPTY: 10 # TEST-EMPTY: 11 # TEST-NEXT: Symtab 14 # CHECK-LABEL: image dump line-table a.c 15 # CHECK-NEXT: Line table for a.c [all …]
|
/llvm-project/lldb/test/API/functionalities/source-map/ |
H A D | a.yaml | 1 --- !mach-o 12 - cmd: LC_SEGMENT_64 24 - sectname: __text 36 - sectname: __debug_str 48 - sectname: __debug_abbrev 60 - sectname: __debug_info 72 - sectname: __debug_macinfo 84 - sectname: __apple_names 96 - sectname: __apple_objc 108 - sectname: __apple_namespac [all …]
|
/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/ |
H A D | bad_aranges.yaml | 1 --- !mach-o 12 - cmd: LC_UUID 14 uuid: 030921EA-6D76-3A68-B515-386B9AF6D568 15 - cmd: LC_BUILD_VERSION 21 - cmd: LC_SYMTAB 27 - cmd: LC_SEGMENT_64 38 - cmd: LC_SEGMENT_64 50 - sectname: __text 63 - sectname: __unwind_info 76 - cmd: LC_SEGMENT_64 [all …]
|
H A D | relative.yaml | 1 --- !mach-o 12 - cmd: LC_UUID 14 uuid: 030921EA-6D76-3A68-B515-386B9AF6D568 15 - cmd: LC_BUILD_VERSION 21 - cmd: LC_SYMTAB 27 - cmd: LC_SEGMENT_64 38 - cmd: LC_SEGMENT_64 50 - sectname: __text 63 - sectname: __unwind_info 76 - cmd: LC_SEGMENT_64 [all …]
|
/llvm-project/llvm/unittests/DebugInfo/GSYM/ |
H A D | GSYMTest.cpp | 1 //===- llvm/unittest/DebugInfo/GSYMTest.cpp --------- 184 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestFunctionInfoDecodeError() local 271 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestFunctionInfoEncodeDecode() local 347 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestInlineInfoEncodeDecode() local 359 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestInlineInfoDecodeError() local 604 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestFileWriterHelper() local 640 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TEST() local 660 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestAddressRangeEncodeDecodeHelper() local 699 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestLineTableHelper() local 769 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestLineTableDecodeError() local 857 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestHeaderDecodeError() local 930 DataExtractor Data(Bytes, ByteOrder == llvm::endianness::little, AddressSize); TestHeaderEncodeDecode() local [all...] |
/llvm-project/llvm/test/tools/yaml2obj/ELF/DWARF/ |
H A D | debug-info.yaml | 7 # RUN: yaml2obj --docnum=1 -DENDIAN=ELFDATA2LSB %s -o %t1.le.o 8 # RUN: llvm-readobj --sections --section-dat [all...] |
H A D | debug-abbrev.yaml | 5 # RUN: yaml2obj --docnum=1 %s -o %t1.o 6 # RUN: llvm-readobj --sections --section-data %t1.o | \ 7 # RUN: FileCheck -DSIZE=59 -DADDRALIGN=1 %s --check-prefixes=SHDR,CONTENT 10 # SHDR-NEXT: Name: .debug_abbrev (1) 11 # SHDR-NEXT: Type: SHT_PROGBITS (0x1) 12 # SHDR-NEXT: Flags [ (0x0) 13 # SHDR-NEXT: ] 14 # SHDR-NEXT: Address: 0x0 15 # SHDR-NEXT: Offset: 0x40 16 # SHDR-NEXT: Size: [[SIZE]] [all …]
|
/llvm-project/llvm/test/tools/llvm-gsymutil/ARM_AArch64/ |
H A D | fat-macho-dwarf.yaml | 1 ## For mach-o files we might have a universal (fat) mach-o file which 9 # RUN: yaml2obj %s -o %t 10 # RUN: llvm-gsymutil --convert %t --arch armv7 -o %t.armv7.gsym 2>&1 | FileCheck %s --check-prefix=… 11 # RUN: llvm-gsymutil --convert %t --arch arm64 -o %t.arm64.gsym 2>&1 | FileCheck %s --check-prefix=… 12 # RUN: llvm-gsymutil --convert %t -o %t.gsym 2>&1 | FileCheck %s --check-prefix=FAT 15 # ARMV7-NEXT: Output file (armv7): {{.*\.yaml\.tmp\.armv7\.gsym}} 16 # ARMV7-NEXT: Loaded 1 functions from DWARF. 17 # ARMV7-NEXT: Loaded 1 functions from symbol table. 21 # ARM64-NEXT: Output file (arm64): {{.*\.yaml\.tmp\.arm64\.gsym}} 22 # ARM64-NEXT: Loaded 1 functions from DWARF. [all …]
|
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFFormValue.h | 1 //===- DWARFFormValue.h --------- 52 const uint8_t *data = nullptr; global() member 67 DWARFFormValue(dwarf::Form F = dwarf::Form(0)) : Form(F) {} Form() function 103 extractValue(const DWARFDataExtractor & Data,uint64_t * OffsetPtr,dwarf::FormParams FormParams,const DWARFUnit * U) extractValue() argument [all...] |
H A D | DWARFAbbreviationDeclaration.h | 1 //===- DWARFAbbreviationDeclaration.h ---------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 30 AttributeSpec(dwarf::Attribute A, dwarf::Form F, int64_t Value) in AttributeSpec() 31 : Attr(A), Form(F), Value(Value) { in AttributeSpec() 34 AttributeSpec(dwarf::Attribute A, dwarf::Form F, in AttributeSpec() 36 : Attr(A), Form(F) { in AttributeSpec() 38 this->ByteSize.HasByteSize = ByteSize.has_value(); in AttributeSpec() 39 if (this->ByteSize.HasByteSize) in AttributeSpec() 40 this->ByteSize.ByteSize = *ByteSize; in AttributeSpec() [all …]
|
/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DIEAttributeCloner.cpp | 1 //=== DIEAttributeCloner.cpp ----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 DWARFDataExtractor Data = InUnit.getOrigUnit().getDebugInfoExtractor(); in clone() local 20 uint64_t Offset = InputDieEntry->getOffset(); in clone() 28 // We could copy the data only if we need to apply a relocation to it. After in clone() 31 SmallString<40> DIECopy(Data.getData().substr(Offset, NextOffset - Offset)); in clone() 32 Data = in clone() 33 DWARFDataExtractor(DIECopy, Data.isLittleEndian(), Data.getAddressSize()); in clone() 36 InUnit.getContaingFile().Addresses->applyValidRelocs(DIECopy, Offset, in clone() [all …]
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFFormValue.cpp | 1 //===-- DWARFFormValue.cpp -------- 31 ExtractValue(const DWARFDataExtractor & data,lldb::offset_t * offset_ptr) ExtractValue() argument 190 GetFixedSize(dw_form_t form,const DWARFUnit * u) GetFixedSize() argument 208 SkipValue(dw_form_t form,const DWARFDataExtractor & debug_info_data,lldb::offset_t * offset_ptr,const DWARFUnit * unit) SkipValue() argument 574 IsBlockForm(const dw_form_t form) IsBlockForm() argument 588 IsDataForm(const dw_form_t form) IsDataForm() argument 603 FormIsSupported(dw_form_t form) FormIsSupported() argument [all...] |
H A D | DWARFDebugInfoEntry.cpp | 1 //===-- DWARFDebugInfoEntry.cpp -------- 44 Extract(const DWARFDataExtractor & data,const DWARFUnit & unit,lldb::offset_t * offset_ptr) Extract() argument 134 const DWARFDataExtractor &data = cu->GetData(); GetDIENamesAndRanges() local 241 DataExtractor data = cu->GetLocationData(); GetDIENamesAndRanges() local 304 const DWARFDataExtractor &data = cu->GetData(); GetAttributes() local 339 const dw_form_t form = form_value.Form(); GetAttributes() local 364 const DWARFDataExtractor &data = cu->GetData(); GetAttributeValue() local 483 dw_form_t form = form_value.Form(); GetAttributeHighPC() local [all...] |
/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
H A D | DWARFFormValueTest.cpp | 1 //===- llvm/unittest/DebugInfo/DWARFFormValueTest.cpp --------- 25 isFormClass(dwarf::Form Form,DWARFFormValue::FormClass FC) isFormClass() argument 48 createDataXFormValue(dwarf::Form Form,RawTypeT Value) createDataXFormValue() argument 53 DWARFDataExtractor Data(StringRef(Raw, sizeof(RawTypeT)), createDataXFormValue() local 65 DWARFDataExtractor Data(OS.str(), sys::IsLittleEndianHost, sizeof(void *)); createULEBFormValue() local 76 DWARFDataExtractor Data(OS.str(), sys::IsLittleEndianHost, sizeof(void *)); createSLEBFormValue() local 151 DWARFDataExtractor Data(Buf, sys::IsLittleEndianHost, AddrSize); doSkipValueTest() local 327 DWARFDataExtractor Data(InitialData, sys::IsLittleEndianHost, 4); TEST_P() local 328 DWARFFormValue Form(Fm); TEST_P() local 365 DWARFDataExtractor Data(InitialData, sys::IsLittleEndianHost, 8); TEST_P() local 366 DWARFFormValue Form(Fm); TEST_P() local [all...] |
/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.h | 1 //===-- llvm/CodeGen/DwarfUnit.h - Dwarf Compile Unit ---*- C++ -*-- 85 addAttribute(DIEValueList & Die,dwarf::Attribute Attribute,dwarf::Form Form,T && Value) addAttribute() argument [all...] |