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,24 +0,0 @@
<?xml version="1.0"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo>
<security>
<requestedPrivileges>
<!--Comment will be removed-->
<requestedExecutionLevel level="3" admin="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity program="logDisplay"/>
</dependentAssembly>
</dependency>
<compatibility>
<dependency>
<assemblyIdentity program="compatibilityCheck2"/>
</dependency>
<application>
<supportedOS Id="BarOS"/>
</application>
</compatibility>
</assembly>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v2" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity foo="bar" name="identity1" version="1.2.3.4"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<supportedOS Id="FooOS"/>
<supportedOS Id="BarOS"/>
</compatibility>
</application>
</assembly>

View File

@ -1,10 +0,0 @@
<?xml version="1.0"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1">
<trustInfo>
<security>
<requestedPrivileges>
<requestedExecutionLevel level="2" uiAccess="1"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<ms_asmv1:trustInfo xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:ms_asmv1="urn:schemas-microsoft-com:asm.v1">
<ms_asmv1:security>
<ms_asmv1:requestedPrivileges>
<ms_asmv1:requestedExecutionLevel level="trust1" ms_asmv1:access="false"></ms_asmv1:requestedExecutionLevel>
</ms_asmv1:requestedPrivileges>
</ms_asmv1:security>
</ms_asmv1:trustInfo>
<ms_asmv2:dependency xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
<ms_asmv2:dependentAssembly>
<ms_asmv2:assemblyIdentity foo="bar" name="identity1" version="1.2.3.4"></assemblyIdentity>
</ms_asmv2:dependentAssembly>
</ms_asmv2:dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity bar="foo" name="my assembly" version="5"></assemblyIdentity>
</dependentAssembly>
</dependency>
<application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<supportedOS Id="FooOS"/>
<supportedOS Id="BarOS"/>
</compatibility>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true/pm</dpiAware>
</asmv3:windowsSettings>
</application>
</assembly>

View File

@ -1,23 +0,0 @@
<?xml version="1.0"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1">
<trustInfo>
<security>
<requestedPrivileges>
<requestedExecutionLevel level="3" uiAccess="1"/>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity program="displayDriver"/>
</dependentAssembly>
</dependency>
<compatibility>
<dependency>
<assemblyIdentity program="compatibilityCheck1"/>
</dependency>
<application>
<supportedOS Id="FooOS"/>
</application>
</compatibility>
</assembly>

View File

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<!--random comment -->
<dependency>
<dependentAssembly>
<assemblyIdentity bar="foo" name="my assembly" version="5"></assemblyIdentity>
</dependentAssembly>
</dependency>
<trustInfo>
<security>
<requestedPrivileges>
<requestedExecutionLevel level="trust1" access="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="trust1"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo></assembly>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings" manifestVersion="1.0">
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true/pm</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>

View File

@ -1,39 +0,0 @@
REQUIRES: libxml2
UNSUPPORTED: windows
RUN: llvm-mt /manifest %p/Inputs/trust_info.manifest \
RUN: /manifest %p/Inputs/assembly_identity.manifest \
RUN: /manifest %p/Inputs/trust_and_identity.manifest \
RUN: /manifest %p/Inputs/compatibility.manifest \
RUN: /manifest %p/Inputs/windows_settings.manifest /out:%t
RUN: FileCheck %s -input-file=%t
CHECK: <?xml version="1.0" encoding="UTF-8"?>
CHECK-NEXT: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
CHECK-NEXT: <ms_asmv1:trustInfo xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:ms_asmv1="urn:schemas-microsoft-com:asm.v1">
CHECK-NEXT: <ms_asmv1:security>
CHECK-NEXT: <ms_asmv1:requestedPrivileges>
CHECK-NEXT: <ms_asmv1:requestedExecutionLevel level="trust1" ms_asmv1:access="false"/>
CHECK-NEXT: </ms_asmv1:requestedPrivileges>
CHECK-NEXT: </ms_asmv1:security>
CHECK-NEXT: </ms_asmv1:trustInfo>
CHECK-NEXT: <ms_asmv2:dependency xmlns:ms_asmv2="urn:schemas-microsoft-com:asm.v2">
CHECK-NEXT: <ms_asmv2:dependentAssembly>
CHECK-NEXT: <ms_asmv2:assemblyIdentity foo="bar" name="identity1" version="1.2.3.4"/>
CHECK-NEXT: </ms_asmv2:dependentAssembly>
CHECK-NEXT: </ms_asmv2:dependency>
CHECK-NEXT: <dependency>
CHECK-NEXT: <dependentAssembly>
CHECK-NEXT: <assemblyIdentity bar="foo" name="my assembly" version="5"/>
CHECK-NEXT: </dependentAssembly>
CHECK-NEXT: </dependency>
CHECK-NEXT: <application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
CHECK-NEXT: <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
CHECK-NEXT: <supportedOS Id="FooOS"/>
CHECK-NEXT: <supportedOS Id="BarOS"/>
CHECK-NEXT: </compatibility>
CHECK-NEXT: <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
CHECK-NEXT: <dpiAware>true/pm</dpiAware>
CHECK-NEXT: </asmv3:windowsSettings>
CHECK-NEXT: </application>
CHECK-NEXT: </assembly>

View File

@ -1,7 +0,0 @@
REQUIRES: libxml2
UNSUPPORTED: windows
RUN: not llvm-mt /manifest %p/Inputs/test_manifest.manifest /manifest \
RUN: %p/Inputs/conflicting.manifest /out:%t 2>&1 >/dev/null | FileCheck %s
CHECK: llvm-mt error: conflicting attributes for requestedExecutionLevel

View File

@ -1,7 +0,0 @@
RUN: llvm-mt /h | FileCheck %s -check-prefix=HELP
HELP: OVERVIEW: Manifest Tool
RUN: not llvm-mt /foo 2>&1 >/dev/null | FileCheck %s -check-prefix=INVALID
INVALID: llvm-mt error: invalid option /foo

View File

@ -1,39 +0,0 @@
REQUIRES: libxml2
UNSUPPORTED: windows
RUN: llvm-mt /manifest %p/Inputs/test_manifest.manifest /manifest \
RUN: %p/Inputs/additional.manifest /out:%t
RUN: FileCheck %s -input-file=%t
CHECK: <?xml version="1.0" encoding="UTF-8"?>
CHECK-NEXT: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
CHECK-NEXT: <trustInfo>
CHECK-NEXT: <security>
CHECK-NEXT: <requestedPrivileges>
CHECK-NEXT: <requestedExecutionLevel level="3" uiAccess="1" admin="false"/>
CHECK-NEXT: </requestedPrivileges>
CHECK-NEXT: </security>
CHECK-NEXT: </trustInfo>
CHECK-NEXT: <dependency>
CHECK-NEXT: <dependentAssembly>
CHECK-NEXT: <assemblyIdentity program="displayDriver"/>
CHECK-NEXT: </dependentAssembly>
CHECK-NEXT: </dependency>
CHECK-NEXT: <compatibility>
CHECK-NEXT: <dependency>
CHECK-NEXT: <assemblyIdentity program="compatibilityCheck1"/>
CHECK-NEXT: </dependency>
CHECK-NEXT: <application>
CHECK-NEXT: <supportedOS Id="FooOS"/>
CHECK-NEXT: <supportedOS Id="BarOS"/>
CHECK-NEXT: </application>
CHECK-NEXT: <dependency>
CHECK-NEXT: <assemblyIdentity program="compatibilityCheck2"/>
CHECK-NEXT: </dependency>
CHECK-NEXT: </compatibility>
CHECK-NEXT: <dependency>
CHECK-NEXT: <dependentAssembly>
CHECK-NEXT: <assemblyIdentity program="logDisplay"/>
CHECK-NEXT: </dependentAssembly>
CHECK-NEXT: </dependency>
CHECK-NEXT: </assembly>

View File

@ -1,29 +0,0 @@
REQUIRES: libxml2
UNSUPPORTED: windows
RUN: llvm-mt /manifest %p/Inputs/test_manifest.manifest /out:%t
RUN: FileCheck %s --input-file=%t
CHECK: <?xml version="1.0" encoding="UTF-8"?>
CHECK-NEXT: <assembly xmlns="urn:schemas-microsoft-com:asm.v1">
CHECK-NEXT: <trustInfo>
CHECK-NEXT: <security>
CHECK-NEXT: <requestedPrivileges>
CHECK-NEXT: <requestedExecutionLevel level="3" uiAccess="1"/>
CHECK-NEXT: </requestedPrivileges>
CHECK-NEXT: </security>
CHECK-NEXT: </trustInfo>
CHECK-NEXT: <dependency>
CHECK-NEXT: <dependentAssembly>
CHECK-NEXT: <assemblyIdentity program="displayDriver"/>
CHECK-NEXT: </dependentAssembly>
CHECK-NEXT: </dependency>
CHECK-NEXT: <compatibility>
CHECK-NEXT: <dependency>
CHECK-NEXT: <assemblyIdentity program="compatibilityCheck1"/>
CHECK-NEXT: </dependency>
CHECK-NEXT: <application>
CHECK-NEXT: <supportedOS Id="FooOS"/>
CHECK-NEXT: </application>
CHECK-NEXT: </compatibility>
CHECK-NEXT: </assembly>

View File

@ -1,18 +0,0 @@
REQUIRES: libxml2
UNSUPPORTED: windows
RUN: not llvm-mt /manifest %p/Inputs/bad.manifest 2>&1 >/dev/null | FileCheck \
RUN: %s
CHECK: llvm-mt error: invalid xml document
RUN: not llvm-mt /manifest %p/Inputs/empty.manifest 2>&1 >/dev/null | \
RUN: FileCheck %s -check-prefix=EMPTY
EMPTY: llvm-mt error: attempted to merge empty manifest
RUN: llvm-mt /inputresource:foo.res \
RUN: /manifest %p/Inputs/test_manifest.manifest \
RUN: /out:%t | FileCheck %s -check-prefix=NOT_SUPPORTED
NOT_SUPPORTED: llvm-mt: ignoring unsupported 'inputresource:' option