You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
15
external/llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map
vendored
Normal file
15
external/llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# This is a dummy debug map used for some tests where the contents of the
|
||||
# map are just an implementation detail. The tests wanting to use that file
|
||||
# should put all there object files in an explicitely named sub-directory
|
||||
# of Inputs, and they should be named 1.o, 2.o, ...
|
||||
# As not finding an object file or symbols isn't a fatal error for dsymutil,
|
||||
# you can extend this file with as much object files and symbols as needed.
|
||||
|
||||
---
|
||||
triple: 'arm64-apple-darwin'
|
||||
objects:
|
||||
- filename: 1.o
|
||||
symbols:
|
||||
- { sym: _bar, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }
|
||||
...
|
||||
|
15
external/llvm/test/tools/dsymutil/ARM/dummy-debug-map.map
vendored
Normal file
15
external/llvm/test/tools/dsymutil/ARM/dummy-debug-map.map
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# This is a dummy debug map used for some tests where the contents of the
|
||||
# map are just an implementation detail. The tests wanting to use that file
|
||||
# should put all there object files in an explicitely named sub-directory
|
||||
# of Inputs, and they should be named 1.o, 2.o, ...
|
||||
# As not finding an object file or symbols isn't a fatal error for dsymutil,
|
||||
# you can extend this file with as much object files and symbols as needed.
|
||||
|
||||
---
|
||||
triple: 'armv7-apple-darwin'
|
||||
objects:
|
||||
- filename: 1.o
|
||||
symbols:
|
||||
- { sym: _bar, objAddr: 0x0, binAddr: 0x10000, size: 0x10 }
|
||||
...
|
||||
|
8
external/llvm/test/tools/dsymutil/ARM/empty-map.test
vendored
Normal file
8
external/llvm/test/tools/dsymutil/ARM/empty-map.test
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# REQUIRES: object-emission
|
||||
# RUN: llvm-dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
---
|
||||
triple: 'thumbv7-apple-darwin'
|
||||
...
|
||||
|
||||
# CHECK: warning: no debug symbols in executable (-arch armv7)
|
21
external/llvm/test/tools/dsymutil/ARM/fat-arch-name.test
vendored
Normal file
21
external/llvm/test/tools/dsymutil/ARM/fat-arch-name.test
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# REQUIRES: object-emission
|
||||
# RUN: llvm-dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o %t.dSYM -verbose 2>&1 | FileCheck %s
|
||||
|
||||
# We detect thumb triples from the binaries, because those are the only ones
|
||||
# that are guaranteed to be able to generate a Target instance (for example
|
||||
# we would detect armv7m-apple-darwin as non-thumb triple, but you can't
|
||||
# instantiate a Target from that). In the user-visible architecture names, and
|
||||
# in the lipo invocation, we need to rewrite the thumb arch names to the arm
|
||||
# ones.
|
||||
|
||||
# CHECK: warning: no debug symbols in executable (-arch armv7)
|
||||
|
||||
# CHECK: warning: no debug symbols in executable (-arch armv7s)
|
||||
|
||||
# CHECK: warning: no debug symbols in executable (-arch arm64)
|
||||
|
||||
# CHECK: Running lipo
|
||||
# CHECK-NEXT: lipo -create
|
||||
# CHECK-SAME: -segalign armv7
|
||||
# CHECK-SAME: -segalign armv7s
|
||||
# CHECK-SAME: -segalign arm64
|
13
external/llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test
vendored
Normal file
13
external/llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# REQUIRES: object-emission
|
||||
# RUN: llvm-dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
---
|
||||
triple: 'armv7-apple-darwin'
|
||||
objects:
|
||||
- filename: libfat-test.a(fat-test.o)
|
||||
symbols:
|
||||
- { sym: _armv7_var, objAddr: 0x0, binAddr: 0x1000, size: 0x4 }
|
||||
...
|
||||
|
||||
# CHECK: libfat-test.a(fat-test.o): No object file for requested architecture
|
||||
|
4
external/llvm/test/tools/dsymutil/ARM/fat-threading.test
vendored
Normal file
4
external/llvm/test/tools/dsymutil/ARM/fat-threading.test
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# REQUIRES: object-emission
|
||||
# By default, dsymutil spawns one thread per architecture and this test just
|
||||
# ensures that things don't break when processing multiple archs.
|
||||
# RUN: llvm-dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o %t.brief.dSYM 2>&1
|
15
external/llvm/test/tools/dsymutil/ARM/inlined-low_pc.c
vendored
Normal file
15
external/llvm/test/tools/dsymutil/ARM/inlined-low_pc.c
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/* Compiled with: clang -arch=arm64 -O2 -g -c inlined_low_pc.c */
|
||||
|
||||
static int foo(int i) { return 42 + i; }
|
||||
int bar(int a) { return foo(a); }
|
||||
|
||||
// RUN: llvm-dsymutil -f -y %p/dummy-debug-map-amr64.map -oso-prepend-path %p/../Inputs/inlined-low_pc -o - | llvm-dwarfdump - | FileCheck %s
|
||||
|
||||
// CHECK: DW_TAG_subprogram
|
||||
// CHECK: DW_AT_low_pc{{.*}}0x0000000000010000
|
||||
// CHECK: DW_AT_name{{.*}}"bar"
|
||||
// CHECK-NOT: NULL
|
||||
// CHECK: DW_TAG_inlined_subroutine
|
||||
// CHECK-NEXT: DW_AT_abstract_origin{{.*}}"foo"
|
||||
// CHECK-NEXT: DW_AT_low_pc{{.*}}0x0000000000010000
|
||||
|
7
external/llvm/test/tools/dsymutil/ARM/lit.local.cfg
vendored
Normal file
7
external/llvm/test/tools/dsymutil/ARM/lit.local.cfg
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
if not 'ARM' in config.root.targets:
|
||||
config.unsupported = True
|
||||
if not 'AArch64' in config.root.targets:
|
||||
config.unsupported = True
|
||||
|
||||
config.suffixes = ['.test', '.cpp', '.c']
|
||||
|
11
external/llvm/test/tools/dsymutil/ARM/scattered.c
vendored
Normal file
11
external/llvm/test/tools/dsymutil/ARM/scattered.c
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
RUN: llvm-dsymutil -y %p/dummy-debug-map.map -oso-prepend-path %p/../Inputs/scattered-reloc/ -f -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
// See Inputs/scattered-reloc/scattered.s to see how this test
|
||||
// actually works.
|
||||
int bar = 42;
|
||||
|
||||
CHECK: DW_TAG_variable
|
||||
CHECK-NOT: DW_TAG
|
||||
CHECK: DW_AT_name{{.*}}
|
||||
"bar" CHECK - NOT : DW_TAG
|
||||
CHECK : DW_AT_location{{.*}}(DW_OP_addr 0x10010)
|
13
external/llvm/test/tools/dsymutil/ARM/thumb.c
vendored
Normal file
13
external/llvm/test/tools/dsymutil/ARM/thumb.c
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
// RUN: llvm-dsymutil -f -oso-prepend-path=%p/.. %p/../Inputs/thumb.armv7m -o - | llvm-dwarfdump - | FileCheck %s
|
||||
// RUN: llvm-dsymutil -arch armv7m -f -oso-prepend-path=%p/.. %p/../Inputs/thumb.armv7m -o - | llvm-dwarfdump - | FileCheck %s
|
||||
|
||||
/* Compile with:
|
||||
clang -c thumb.c -arch armv7m -g
|
||||
clang thumb.o -o thumb.armv7m -arch armv7m -nostdlib -static -Wl,-e,_start
|
||||
*/
|
||||
|
||||
void start() {
|
||||
}
|
||||
|
||||
CHECK: DW_AT_name{{.*}}"thumb.c"
|
||||
CHECK: DW_AT_name{{.*}}"start"
|
20
external/llvm/test/tools/dsymutil/Inputs/Info.plist
vendored
Normal file
20
external/llvm/test/tools/dsymutil/Inputs/Info.plist
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>custom</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>dSYM</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2</string>
|
||||
</dict>
|
||||
</plist>
|
BIN
external/llvm/test/tools/dsymutil/Inputs/absolute_sym.macho.i386
vendored
Executable file
BIN
external/llvm/test/tools/dsymutil/Inputs/absolute_sym.macho.i386
vendored
Executable file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/absolute_sym.macho.i386.o
vendored
Normal file
BIN
external/llvm/test/tools/dsymutil/Inputs/absolute_sym.macho.i386.o
vendored
Normal file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/alias/bar.o
vendored
Normal file
BIN
external/llvm/test/tools/dsymutil/Inputs/alias/bar.o
vendored
Normal file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/alias/foo.o
vendored
Normal file
BIN
external/llvm/test/tools/dsymutil/Inputs/alias/foo.o
vendored
Normal file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/alias/foobar
vendored
Executable file
BIN
external/llvm/test/tools/dsymutil/Inputs/alias/foobar
vendored
Executable file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-archive.macho.x86_64
vendored
Executable file
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-archive.macho.x86_64
vendored
Executable file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-lto-dw4.macho.x86_64
vendored
Executable file
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-lto-dw4.macho.x86_64
vendored
Executable file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-lto-dw4.macho.x86_64.o
vendored
Normal file
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-lto-dw4.macho.x86_64.o
vendored
Normal file
Binary file not shown.
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-lto.macho.x86_64
vendored
Executable file
BIN
external/llvm/test/tools/dsymutil/Inputs/basic-lto.macho.x86_64
vendored
Executable file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user