Imported Upstream version 5.18.0.167

Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-10-20 08:25:10 +00:00
parent e19d552987
commit b084638f15
28489 changed files with 184 additions and 3866856 deletions

View File

@ -1,3 +0,0 @@
some text
0x40054d
some text2

View File

@ -1,19 +0,0 @@
// To generate the corresponding EXE, run:
// clang-cl -MD -O2 -gdwarf -c coff-dwarf.cpp && lld-link -debug coff-dwarf.obj
extern "C" int puts(const char *str);
void __declspec(noinline) foo() {
puts("foo1");
puts("foo2");
}
// LLVM should inline this into main.
static void bar() {
foo();
}
int main() {
bar();
return 0;
}

View File

@ -1,20 +0,0 @@
// To generate the corresponding EXE, run:
// clang-cl -MD -c coff-exports.cpp && lld-link /MANIFEST:NO coff-exports.obj
#define EXPORT __declspec(dllexport)
extern "C" int puts(const char *str);
EXPORT void __declspec(noinline) foo() {
puts("foo1");
puts("foo2");
}
void bar() {
foo();
}
EXPORT int main() {
bar();
return 0;
}

View File

@ -1,11 +0,0 @@
static volatile int do_mul;
static volatile int x, v;
int foo () {
if (do_mul) x *= v; else x /= v;
return x;
}
int main() {
return foo() + foo();
}

View File

@ -1,8 +0,0 @@
some text
0x400590
0x4005a5
0x4005ad
0x4005b9
0x4005ce
0x4005d4
some more text

View File

@ -1,20 +0,0 @@
<?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>com.apple.xcode.dsym.dsym-test-exe-differentname</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

View File

@ -1,20 +0,0 @@
<?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>com.apple.xcode.dsym.dsym-test-exe</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

View File

@ -1,8 +0,0 @@
// clang -c dsym-test.c -g
// clang dsym-test.o -g -o dsym-test-exe
// dsymutil dsym-test-exe
// clang dsym-test.o -g -o dsym-test-exe-second
// dsymutil dsym-test-exe-second -o dsym-test-exe-differentname.dSYM
int main() {
return 0;
}

View File

@ -1,15 +0,0 @@
/* Compile with:
clang -arch armv7 -arch armv7m -arch armv7em -arch x86_64 -arch x86_64h -c
*/
#ifdef __x86_64h__
void x86_64h_function() {}
#elif defined(__x86_64__)
void x86_64_function() {}
#elif defined(__ARM_ARCH_7EM__)
void armv7em_function() {}
#elif defined(__ARM_ARCH_7M__)
void armv7m_function() {}
#elif defined(__ARM_ARCH_7A__)
void armv7_function() {}
#endif

View File

@ -1,16 +0,0 @@
RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \
RUN: | llvm-symbolizer --inlining --relative-address -obj="%p/Inputs/coff-dwarf.exe" \
RUN: | FileCheck %s
This test relies on UnDecorateSymbolName, which is Windows-only.
REQUIRES: target-windows, system-windows
ADDR: 0x5009
ADDR: 0x5038
CHECK: foo(void)
CHECK: coff-dwarf.cpp:7
CHECK: bar(void)
CHECK: coff-dwarf.cpp:13
CHECK: main
CHECK: coff-dwarf.cpp:17

View File

@ -1,22 +0,0 @@
RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \
RUN: | llvm-symbolizer --inlining --relative-address -obj="%p/Inputs/coff-exports.exe" \
RUN: | FileCheck %s
This test relies on UnDecorateSymbolName, which is Win32-only.
REQUIRES: system-windows
REQUIRES: target-windows
FIXME: This test depends on host, not target.
ADDR: 0x500A
ADDR: 0x5038
ADDR: 0x504B
We get the expected stack trace, except 'foo' appears for the 'bar' frame
because 'bar' isn't in the export table.
CHECK: foo(void)
CHECK: ??:0:0
CHECK: foo(void)
CHECK: ??:0:0
CHECK: main
CHECK: ??:0:0

View File

@ -1,14 +0,0 @@
RUN: echo "%p/Inputs/dsym-test-exe 0x0000000100000f90" > %t.input
RUN: echo "%p/Inputs/dsym-test-exe-second 0x0000000100000f90" >> %t.input
RUN: llvm-symbolizer < %t.input | FileCheck %s --check-prefix=CHECK-NOHINT
RUN: llvm-symbolizer -dsym-hint=%p/Inputs/dsym-test-exe-differentname.dSYM < %t.input | FileCheck %s --check-prefix=CHECK-HINT
CHECK-NOHINT: main
CHECK-NOHINT: dsym-test.c
CHECK-NOHINT: main
CHECK-NOHINT: ??:0:0
CHECK-HINT: main
CHECK-HINT: dsym-test.c
CHECK-HINT: main
CHECK-HINT: dsym-test.c

Some files were not shown because too many files have changed in this diff Show More