| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | DebugMap.cpp | 37 namespace dsymutil { namespace 153 YamlDMO(IO &io, dsymutil::DebugMapObject &Obj); 154 dsymutil::DebugMapObject denormalize(IO &IO); 169 void MappingTraits<dsymutil::DebugMapObject>::mapping( in mapping() 170 IO &io, dsymutil::DebugMapObject &DMO) { in mapping() 192 dsymutil::DebugMapObject & 198 seq[index].reset(new dsymutil::DebugMapObject); in element() 203 void MappingTraits<dsymutil::DebugMap>::mapping(IO &io, in mapping() 213 IO &io, std::unique_ptr<dsymutil::DebugMap> &DM) { in mapping() 224 IO &io, dsymutil::DebugMapObject &Obj) { in YamlDMO() [all …]
|
| H A D | DebugMap.h | 46 namespace dsymutil { 211 friend yaml::MappingTraits<dsymutil::DebugMapObject>; 230 using namespace llvm::dsymutil; in LLVM_YAML_IS_SEQUENCE_VECTOR() 239 template <> struct MappingTraits<dsymutil::DebugMapObject> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 241 static void mapping(IO &io, dsymutil::DebugMapObject &DMO); in LLVM_YAML_IS_SEQUENCE_VECTOR() 253 size(IO &io, std::vector<std::unique_ptr<dsymutil::DebugMapObject>> &seq); in LLVM_YAML_IS_SEQUENCE_VECTOR() 254 static dsymutil::DebugMapObject & in LLVM_YAML_IS_SEQUENCE_VECTOR() 259 template <> struct MappingTraits<dsymutil::DebugMap> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 260 static void mapping(IO &io, dsymutil::DebugMap &DM); in LLVM_YAML_IS_SEQUENCE_VECTOR() 263 template <> struct MappingTraits<std::unique_ptr<dsymutil::DebugMap>> { in LLVM_YAML_IS_SEQUENCE_VECTOR() [all …]
|
| H A D | BinaryHolder.h | 31 namespace dsymutil { 148 template <> struct DenseMapInfo<dsymutil::BinaryHolder::ArchiveEntry::KeyTy> { 150 static inline dsymutil::BinaryHolder::ArchiveEntry::KeyTy getEmptyKey() { 151 return dsymutil::BinaryHolder::ArchiveEntry::KeyTy(); 154 static inline dsymutil::BinaryHolder::ArchiveEntry::KeyTy getTombstoneKey() { 155 return dsymutil::BinaryHolder::ArchiveEntry::KeyTy("/", {}); 159 getHashValue(const dsymutil::BinaryHolder::ArchiveEntry::KeyTy &K) { 165 static bool isEqual(const dsymutil::BinaryHolder::ArchiveEntry::KeyTy &LHS, 166 const dsymutil::BinaryHolder::ArchiveEntry::KeyTy &RHS) {
|
| H A D | CMakeLists.txt | 21 add_llvm_tool(dsymutil 22 dsymutil.cpp 40 target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation") 43 target_link_libraries(dsymutil PRIVATE ${LLVM_ATOMIC_LIB})
|
| /llvm-project-15.0.7/llvm/ |
| H A D | .gitattributes | 3 test/tools/dsymutil/Inputs/*.o binary 4 test/tools/dsymutil/Inputs/*.a binary 5 test/tools/dsymutil/Inputs/*.i386 binary 6 test/tools/dsymutil/Inputs/*.x86_64 binary 7 test/tools/dsymutil/Inputs/*.armv7m binary 8 test/tools/dsymutil/Inputs/*.dylib binary 9 test/tools/dsymutil/Inputs/*.dSYM binary 10 test/tools/dsymutil/Inputs/*.swiftmodule binary
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/ |
| H A D | arch-option.test | 4 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib | FileCheck %s -che… 5 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch all | FileChe… 6 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch='*' | FileChe… 7 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm64 | FileC… 8 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm | FileChe… 9 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch armv7 | FileC… 10 RUN: dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm64 -arch a… 11 RUN: not dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm42 2>&… 12 RUN: not dsymutil -oso-prepend-path %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch i386 2>&1…
|
| H A D | cmdline.test | 1 RUN: dsymutil -help 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=HELP %s 2 RUN: cat %S/../../../docs/CommandGuide/dsymutil.rst | FileCheck %s 5 HELP: USAGE: {{.*}}dsymutil{{[^ ]*}} [options] <input files> 39 RUN: dsymutil --version 2>&1 | FileCheck --check-prefix=VERSION %s 42 RUN: not dsymutil 2>&1 | FileCheck --check-prefix=NOINPUT %s 45 RUN: dsymutil -bogus -help 2>&1 | FileCheck --check-prefix=BOGUS %s
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/ |
| H A D | verify.test | 2 # RUN: dsymutil -verify -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 %p/../Inputs/basic-… 3 # RUN: dsymutil -verify -verbose -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 %p/../Inpu… 10 # RUN: not dsymutil -verify -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | FileCheck %s --check-… 11 # RUN: not dsymutil -verify-dwarf=output -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | FileChec… 12 # RUN: not dsymutil -verify -verbose -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | FileCheck %s… 15 # RUN: dsymutil -verify-dwarf=input -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | FileCheck %s … 16 # RUN: dsymutil -verify-dwarf=input -verbose -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | File… 17 # RUN: dsymutil -verify-dwarf=none -verbose -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | FileC… 18 # RUN: not dsymutil -verify-dwarf=bogus -verbose -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | … 19 # RUN: not dsymutil -verify-dwarf=all -oso-prepend-path=%p/../Inputs -y %s -o %t 2>&1 | FileCheck %…
|
| H A D | update.test | 4 RUN: dsymutil -accelerator=Pub -oso-prepend-path=%p/.. %t.dir/basic 6 RUN: dsymutil -accelerator=Pub --update %t.dir/basic.dSYM 8 RUN: dsymutil -accelerator=Pub -u %t.dir/basic.dSYM 10 RUN: dsymutil -accelerator=Pub --update %t.dir/basic.dSYM -o %t.dir/updated.dSYM 13 RUN: dsymutil -accelerator=Pub -f -o %t2 -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 14 RUN: dsymutil -accelerator=Pub -f -u %t2 -o %t3
|
| H A D | accelerator.test | 1 RUN: dsymutil -accelerator=Dwarf -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.dwar… 2 RUN: dsymutil -accelerator=Apple -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.appl… 3 RUN: dsymutil -accelerator=None -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.none.… 13 RUN: dsymutil -update -accelerator=Dwarf %t.apple.dSYM 14 RUN: dsymutil -update -accelerator=Apple %t.dwarf.dSYM 15 RUN: dsymutil -update -accelerator=None %t.none.dSYM
|
| H A D | papertrail-warnings.test | 1 RUN: env RC_DEBUG_OPTIONS=1 dsymutil -f %p/../Inputs/basic.macho.x86_64 -o - | llvm-dwarfdump -v - … 6 CHECK: DW_AT_producer {{.*}}"dsymutil 15 CHECK: DW_AT_producer {{.*}}"dsymutil 24 CHECK: DW_AT_producer {{.*}}"dsymutil
|
| H A D | reproducer.test | 14 RUN: dsymutil -f -o - -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 | llvm-dwarfdump -a - | Fil… 17 RUN: env DSYMUTIL_REPRODUCER_PATH=%t.repro dsymutil -gen-reproducer -f -o %t.generate -oso-prepend-… 22 RUN: not dsymutil -f -o %t.error -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 2>&1 | FileCheck… 25 RUN: dsymutil -use-reproducer %t.repro -f -o - -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 | … 28 RUN: dsymutil -gen-reproducer -use-reproducer %t.repro -f -o - -oso-prepend-path=%t %t/Inputs/basic…
|
| H A D | swift-ast-x86_64.test | 1 RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/swift-ast.macho.x86_64 -o %T/swift-ast.dSYM -ver… 2 RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/swift-ast.macho.x86_64 -o %T/swift-ast.dSYM -ver… 24 RUN: dsymutil -s %T/swift-ast.dSYM/Contents/Resources/DWARF/swift-ast.macho.x86_64 | FileCheck %s -…
|
| H A D | basic-linking-x86.test | 2 RUN: dsymutil -accelerator=Pub -f -oso-prepend-path=%p/.. %t1 4 RUN: dsymutil -accelerator=Pub -f -o %t2 -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 6 RUN: dsymutil -accelerator=Pub -f -o - -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 | ll… 7 RUN: dsymutil -accelerator=Pub -f -o - -oso-prepend-path=%p/.. %p/../Inputs/basic-archive.macho.x86… 8 RUN: dsymutil -accelerator=Pub -dump-debug-map -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86… 9 RUN: dsymutil -accelerator=Pub -dump-debug-map -oso-prepend-path=%p/.. %p/../Inputs/basic-archive.m…
|
| H A D | module-warnings.test | 26 # RUN: dsymutil -verify -f -oso-prepend-path=%t.dir -y \ 35 # RUN: dsymutil -verify -f -oso-prepend-path=%t.dir -y %s -o %t 2>&1 | FileCheck %s 40 # RUN: dsymutil -verify -f -oso-prepend-path=%t.dir -y %s -o %t 2>&1 \
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objdump/MachO/ |
| H A D | disassemble-g-dsym.test | 1 # RUN: dsymutil -f -oso-prepend-path=%p/../../dsymutil/ %p/../../dsymutil/Inputs/basic.macho.x86_64… 2 # RUN: llvm-objdump -d -g --dsym=%t1.dSYM %p/../../dsymutil/Inputs/basic.macho.x86_64 >%t0 3 # RUN: llvm-objdump -dg --dsym=%t1.dSYM %p/../../dsymutil/Inputs/basic.macho.x86_64 >%t1 19 # RUN: llvm-objdump --macho -d -g --dsym %t.a %p/../../dsymutil/Inputs/basic.macho.x86_64 2>&1 | \ 23 # RUN: llvm-objdump --macho -d -g --dsym %t.elf %p/../../dsymutil/Inputs/basic.macho.x86_64 2>&1 | \
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/ |
| H A D | archive.test | 1 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ 8 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ 14 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \ 17 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
|
| H A D | debug_frame_offset.test | 1 RUN: llc -filetype=obj %p/../../dsymutil/Inputs/frame-dw2.ll -o - \ 9 RUN: llvm-dwarfdump %p/../../dsymutil/Inputs/basic1.macho.x86_64.o \
|
| H A D | name.test | 13 RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \ 36 RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/odr-anon-namespace/1.o \ 58 RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \ 61 RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/dsymutil/ |
| H A D | BUILD.gn | 5 visibility = [ ":dsymutil" ] 9 driver_executable("dsymutil") { 31 "dsymutil.cpp",
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | dsymutil.rst | 1 dsymutil - manipulate archived DWARF debug symbol files 4 .. program:: dsymutil 9 | :program:`dsymutil` [*options*] *executable* 14 :program:`dsymutil` links the DWARF debug information found in the object files 33 properly linked will cause :program:`dsymutil` to return an error. 63 dsymutil currently has better equivalents: .apple_names and .apple_types. When 88 ``-fdebug-prefix-map``; to help dsymutil find the Clang module cache. 101 When running dsymutil as part of your build system, it can be desirable for 173 :program:`dsymutil` returns 0 if the DWARF debug information was linked
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/ARM/ |
| H A D | obfuscated.test | 3 RUN: dsymutil --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \ 7 RUN: dsymutil --accelerator=Pub --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.ar… 11 RUN: dsymutil --symbol-map %p/../Inputs/obfuscated.map %p/../Inputs/obfuscated.arm64 -f -o - \ 15 RUN: dsymutil --symbol-map %p/../Inputs/obfuscated.2.map %p/../Inputs/obfuscated.2.arm64 -f -o - \ 19 // Run with plist and make sure dsymutil finds it. 25 RUN: dsymutil --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=OBFUSCATING %s 27 // Run without plist and make sure dsymutil doesn't crash. 29 RUN: dsymutil --symbol-map %t.mapdir %t.dSYM 2>&1 | FileCheck --check-prefix=NOTOBFUSCATING %s
|
| H A D | fat-threading.test | 1 # By default, dsymutil spawns one thread per architecture and this test just 3 # RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null 2>&1
|
| /llvm-project-15.0.7/lldb/utils/lldb-dotest/ |
| H A D | lldb-dotest.in | 10 dsymutil = '@LLDB_TEST_DSYMUTIL_CONFIGURED@' 27 cmd.extend(['--dsymutil', dsymutil])
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | lto-cache-dsymutil.ll | 7 ;; Check that dsymutil is able to read the .o file out of the thinlto cache. 8 ; RUN: dsymutil -f -o - %t/test | llvm-dwarfdump - | FileCheck %s
|