Imported Upstream version 6.0.0.172

Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-04-12 14:10:50 +00:00
parent 8016999e4d
commit 64ac736ec5
32155 changed files with 3981439 additions and 75368 deletions

View File

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

View File

@ -0,0 +1,19 @@
// 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

@ -0,0 +1,20 @@
// 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;
}

Binary file not shown.

View File

@ -0,0 +1,11 @@
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

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

Binary file not shown.

View 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>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>

Binary file not shown.

View 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>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

@ -0,0 +1,8 @@
// 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

@ -0,0 +1,15 @@
/* 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

Binary file not shown.