Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm11 for openSUSE:Factory checked in at 2021-01-15 19:43:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm11 (Old) and /work/SRC/openSUSE:Factory/.llvm11.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm11" Fri Jan 15 19:43:47 2021 rev:6 rq:862042 version:11.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm11/llvm11.changes 2021-01-08 17:33:04.225166336 +0100 +++ /work/SRC/openSUSE:Factory/.llvm11.new.28504/llvm11.changes 2021-01-15 19:44:05.901826400 +0100 @@ -1,0 +2,10 @@ +Sat Jan 9 16:19:46 UTC 2021 - Aaron Puchert <[email protected]> + +- Update to version 11.0.1. + * This release contains bug-fixes for the LLVM 11.0.0 release. + This release is API and ABI compatible with 11.0.0. +- Rebase llvm-do-not-install-static-libraries.patch. +- Drop obsolete compiler-rt-dont-compile-assembly-files-as-c.patch. +- Make documentation tarballs more reproducible. + +------------------------------------------------------------------- Old: ---- clang-11.0.0.src.tar.xz clang-docs-11.0.0.src.tar.xz clang-tools-extra-11.0.0.src.tar.xz compiler-rt-11.0.0.src.tar.xz compiler-rt-dont-compile-assembly-files-as-c.patch libcxx-11.0.0.src.tar.xz libcxxabi-11.0.0.src.tar.xz lld-11.0.0.src.tar.xz lldb-11.0.0.src.tar.xz llvm-11.0.0.src.tar.xz llvm-docs-11.0.0.src.tar.xz openmp-11.0.0.src.tar.xz polly-11.0.0.src.tar.xz New: ---- clang-11.0.1.src.tar.xz clang-docs-11.0.1.src.tar.xz clang-tools-extra-11.0.1.src.tar.xz compiler-rt-11.0.1.src.tar.xz libcxx-11.0.1.src.tar.xz libcxxabi-11.0.1.src.tar.xz lld-11.0.1.src.tar.xz lldb-11.0.1.src.tar.xz llvm-11.0.1.src.tar.xz llvm-docs-11.0.1.src.tar.xz openmp-11.0.1.src.tar.xz polly-11.0.1.src.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm11.spec ++++++ --- /var/tmp/diff_new_pack.OBpMr3/_old 2021-01-15 19:44:09.049831559 +0100 +++ /var/tmp/diff_new_pack.OBpMr3/_new 2021-01-15 19:44:09.053831565 +0100 @@ -1,7 +1,7 @@ # # spec file for package llvm11 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,7 @@ # -%define _relver 11.0.0 +%define _relver 11.0.1 %define _version %_relver%{?_rc:rc%_rc} %define _tagver %_relver%{?_rc:-rc%_rc} %define _minor 11.0 @@ -127,8 +127,6 @@ # PATCH-FIX-OPENSUSE llvm-exegesis-link-dylib.patch -- Don't waste space for llvm-exegesis. # It's crippled anyway because of missing deps and not relevant for users. Eventually we should drop it. Patch27: llvm-exegesis-link-dylib.patch -# PATCH-FIX-UPSTREAM compiler-rt-dont-compile-assembly-files-as-c.patch -- https://reviews.llvm.org/D86308 -Patch28: compiler-rt-dont-compile-assembly-files-as-c.patch BuildRequires: binutils-devel >= 2.21.90 BuildRequires: cmake BuildRequires: fdupes @@ -267,8 +265,8 @@ %package -n libclang%{_sonum} Summary: Library files needed for clang -Group: System/Libraries # Avoid multiple provider errors +Group: System/Libraries Requires: libLLVM%{_sonum} %description -n libclang%{_sonum} @@ -303,8 +301,8 @@ %package -n libLTO%{_sonum} Summary: Link-time optimizer for LLVM -Group: System/Libraries # Avoid multiple provider errors +Group: System/Libraries Requires: libLLVM%{_sonum} %description -n libLTO%{_sonum} @@ -312,8 +310,8 @@ %package LTO-devel Summary: Link-time optimizer for LLVM (devel package) -Group: Development/Libraries/C and C++ # Avoid multiple provider errors +Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} Requires: libLTO%{_sonum} Conflicts: libLTO.so < %{version} @@ -325,8 +323,8 @@ %package gold Summary: Gold linker plugin for LLVM -Group: Development/Tools/Building # Avoid multiple provider errors +Group: Development/Tools/Building Requires: libLLVM%{_sonum} Conflicts: llvm-gold-provider < %{version} Provides: llvm-gold-provider = %{version} @@ -337,8 +335,8 @@ %package -n libomp%{_sonum}-devel Summary: MPI plugin for LLVM -Group: Development/Libraries/C and C++ # Avoid multiple provider errors +Group: Development/Libraries/C and C++ Requires: libLLVM%{_sonum} Conflicts: libomp-devel < %{version} Provides: libomp-devel = %{version} @@ -359,8 +357,8 @@ %package -n libc++-devel Summary: C++ standard library implementation (devel package) -Group: Development/Libraries/C and C++ # Avoid multiple provider errors +Group: Development/Libraries/C and C++ Requires: libc++%{_socxx} = %{version} Requires: libc++abi-devel = %{version} Conflicts: libc++.so < %{version} @@ -468,8 +466,8 @@ %package -n liblldb%{_sonum} Summary: LLDB software debugger runtime library -Group: System/Libraries # Avoid multiple provider errors +Group: System/Libraries Requires: libLLVM%{_sonum} Requires: libclang%{_sonum} @@ -478,8 +476,8 @@ %package -n lldb%{_sonum}-devel Summary: Development files for LLDB -Group: Development/Libraries/C and C++ # Avoid multiple provider errors +Group: Development/Libraries/C and C++ Requires: clang%{_sonum}-devel = %{version} Requires: liblldb%{_sonum} = %{version} Requires: llvm%{_sonum}-devel = %{version} @@ -550,7 +548,6 @@ %patch22 -p1 %patch24 -p1 %patch27 -p2 -%patch28 -p1 pushd clang-%{_version}.src %patch2 -p1 @@ -839,11 +836,16 @@ # cd .. # ln -s ../../../build/tools/clang/docs/AttributeReference.rst tools/clang/docs # mkdir build; cd build -# cmake -G Ninja -DLLVM_ENABLE_SPHINX:BOOL=ON -DLLVM_BUILD_DOCS:BOOL=ON .. +# cmake -G Ninja -DLLVM_ENABLE_SPHINX:BOOL=ON -DLLVM_BUILD_DOCS:BOOL=ON \ +# -DSPHINX_WARNINGS_AS_ERRORS:BOOL=OFF .. # ninja docs-{llvm,clang}-{html,man} # popd -# tar cvJf llvm-docs-%{_version}.src.tar.xz llvm-%{_version}.src/build/docs/{man,html} -# tar cvJf clang-docs-%{_version}.src.tar.xz llvm-%{_version}.src/build/tools/clang/docs/{man,html} +# tar --sort=name --owner=0 --group=0 --mtime="@${SOURCE_DATE_EPOCH}" \ +# --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \ +# cJf llvm-docs-%{_version}.src.tar.xz llvm-%{_version}.src/build/docs/{man,html} +# tar --sort=name --owner=0 --group=0 --mtime="@${SOURCE_DATE_EPOCH}" \ +# --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \ +# cJf clang-docs-%{_version}.src.tar.xz llvm-%{_version}.src/build/tools/clang/docs/{man,html} # Build man/html pages pushd build/docs ++++++ clang-11.0.0.src.tar.xz -> clang-11.0.1.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm11/clang-11.0.0.src.tar.xz /work/SRC/openSUSE:Factory/.llvm11.new.28504/clang-11.0.1.src.tar.xz differ: char 25, line 1 ++++++ clang-docs-11.0.0.src.tar.xz -> clang-docs-11.0.1.src.tar.xz ++++++ ++++ 4750 lines of diff (skipped) ++++++ clang-tools-extra-11.0.0.src.tar.xz -> clang-tools-extra-11.0.1.src.tar.xz ++++++ ++++++ compiler-rt-11.0.0.src.tar.xz -> compiler-rt-11.0.1.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compiler-rt-11.0.0.src/cmake/Modules/AddCompilerRT.cmake new/compiler-rt-11.0.1.src/cmake/Modules/AddCompilerRT.cmake --- old/compiler-rt-11.0.0.src/cmake/Modules/AddCompilerRT.cmake 2020-10-07 12:10:48.000000000 +0200 +++ new/compiler-rt-11.0.1.src/cmake/Modules/AddCompilerRT.cmake 2020-12-18 20:57:38.000000000 +0100 @@ -109,11 +109,11 @@ function(add_asm_sources output) set(${output} ${ARGN} PARENT_SCOPE) - # Xcode will try to compile asm files as C ('clang -x c'), and that will fail. - if (${CMAKE_GENERATOR} STREQUAL "Xcode") - enable_language(ASM) - else() - # Pass ASM file directly to the C++ compiler. + # CMake doesn't pass the correct architecture for Apple prior to CMake 3.19. https://gitlab.kitware.com/cmake/cmake/-/issues/20771 + # MinGW didn't work correctly with assembly prior to CMake 3.17. https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4287 and https://reviews.llvm.org/rGb780df052dd2b246a760d00e00f7de9ebdab9d09 + # Workaround these two issues by compiling as C. + # Same workaround used in libunwind. Also update there if changed here. + if((APPLE AND CMAKE_VERSION VERSION_LESS 3.19) OR (MINGW AND CMAKE_VERSION VERSION_LESS 3.17)) set_source_files_properties(${ARGN} PROPERTIES LANGUAGE C) endif() endfunction() ++++++ libcxx-11.0.0.src.tar.xz -> libcxx-11.0.1.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-11.0.0.src/CMakeLists.txt new/libcxx-11.0.1.src/CMakeLists.txt --- old/libcxx-11.0.0.src/CMakeLists.txt 2020-10-07 12:10:48.000000000 +0200 +++ new/libcxx-11.0.1.src/CMakeLists.txt 2020-12-18 20:57:38.000000000 +0100 @@ -32,7 +32,7 @@ project(libcxx CXX C) set(PACKAGE_NAME libcxx) - set(PACKAGE_VERSION 11.0.0) + set(PACKAGE_VERSION 11.0.1) set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "[email protected]") ++++++ libcxxabi-11.0.0.src.tar.xz -> libcxxabi-11.0.1.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxxabi-11.0.0.src/CMakeLists.txt new/libcxxabi-11.0.1.src/CMakeLists.txt --- old/libcxxabi-11.0.0.src/CMakeLists.txt 2020-10-07 12:10:48.000000000 +0200 +++ new/libcxxabi-11.0.1.src/CMakeLists.txt 2020-12-18 20:57:38.000000000 +0100 @@ -25,7 +25,7 @@ project(libcxxabi CXX C) set(PACKAGE_NAME libcxxabi) - set(PACKAGE_VERSION 11.0.0) + set(PACKAGE_VERSION 11.0.1) set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") set(PACKAGE_BUGREPORT "[email protected]") ++++++ lld-11.0.0.src.tar.xz -> lld-11.0.1.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-11.0.0.src/COFF/DebugTypes.cpp new/lld-11.0.1.src/COFF/DebugTypes.cpp --- old/lld-11.0.0.src/COFF/DebugTypes.cpp 2020-10-07 12:10:48.000000000 +0200 +++ new/lld-11.0.1.src/COFF/DebugTypes.cpp 2020-12-18 20:57:38.000000000 +0100 @@ -202,6 +202,9 @@ BinaryStreamReader reader(file->debugTypes, support::little); cantFail(reader.readArray(types, reader.getLength())); + // When dealing with PCH.OBJ, some indices were already merged. + unsigned nbHeadIndices = indexMap->tpiMap.size(); + if (config->debugGHashes) { ArrayRef<GloballyHashedType> hashes; std::vector<GloballyHashedType> ownedHashes; @@ -232,7 +235,7 @@ // collecting statistics. m->tpiCounts.resize(m->getTypeTable().size()); m->ipiCounts.resize(m->getIDTable().size()); - uint32_t srcIdx = 0; + uint32_t srcIdx = nbHeadIndices; for (CVType &ty : types) { TypeIndex dstIdx = indexMap->tpiMap[srcIdx++]; // Type merging may fail, so a complex source type may become the simple diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-11.0.0.src/ELF/LinkerScript.cpp new/lld-11.0.1.src/ELF/LinkerScript.cpp --- old/lld-11.0.0.src/ELF/LinkerScript.cpp 2020-10-07 12:10:48.000000000 +0200 +++ new/lld-11.0.1.src/ELF/LinkerScript.cpp 2020-12-18 20:57:38.000000000 +0100 @@ -679,8 +679,11 @@ auto *firstIsec = cast<InputSectionBase>( cast<InputSectionDescription>(sec->sectionCommands[0]) ->sectionBases[0]); - if (firstIsec->getLinkOrderDep()->getOutputSection() != - isec->getLinkOrderDep()->getOutputSection()) + OutputSection *firstIsecOut = + firstIsec->flags & SHF_LINK_ORDER + ? firstIsec->getLinkOrderDep()->getOutputSection() + : nullptr; + if (firstIsecOut != isec->getLinkOrderDep()->getOutputSection()) continue; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-11.0.0.src/test/COFF/Inputs/precomp2-a.yaml new/lld-11.0.1.src/test/COFF/Inputs/precomp2-a.yaml --- old/lld-11.0.0.src/test/COFF/Inputs/precomp2-a.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/lld-11.0.1.src/test/COFF/Inputs/precomp2-a.yaml 2020-12-18 20:57:38.000000000 +0100 @@ -0,0 +1,84 @@ +--- !COFF +header: + Machine: IMAGE_FILE_MACHINE_AMD64 + Characteristics: [ ] +sections: + - Name: '.debug$S' + Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] + Alignment: 1 + Subsections: + - !Symbols + Records: + - Kind: S_OBJNAME + ObjNameSym: + Signature: 545589255 + ObjectName: 'D:\llvm-project\lld\test\COFF\Inputs\precomp2-a.obj' + - Kind: S_COMPILE3 + Compile3Sym: + Flags: [ SecurityChecks, HotPatch ] + Machine: X64 + FrontendMajor: 19 + FrontendMinor: 13 + FrontendBuild: 26131 + FrontendQFE: 1 + BackendMajor: 19 + BackendMinor: 13 + BackendBuild: 26131 + BackendQFE: 1 + Version: 'Microsoft (R) Optimizing Compiler' + - !StringTable + Strings: + - 'D:\llvm-project\lld\test\COFF\precomp\precomp.pch' + - 'D:\llvm-project\lld\test\COFF\precomp\precomp.h' + - 'D:\llvm-project\lld\test\COFF\precomp\a.cpp' + - Name: '.debug$T' + Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] + Alignment: 1 + Types: + - Kind: LF_PRECOMP + Precomp: + StartTypeIndex: 4096 + TypesCount: 3 + Signature: 545589255 + PrecompFilePath: 'D:\llvm-project\lld\test\COFF\Inputs\precomp2.obj' + - Kind: LF_STRING_ID + StringId: + Id: 0 + String: 'test test test test test' + - Kind: LF_STRING_ID + StringId: + Id: 0 + String: 'test test test test test' + - Kind: LF_STRING_ID + StringId: + Id: 0 + String: 'test test test test test' + - Kind: LF_BUILDINFO + BuildInfo: + ArgIndices: [ 4101, 4101, 4101, 4101, 4101 ] +symbols: + - Name: '.debug$S' + Value: 0 + SectionNumber: 1 + SimpleType: IMAGE_SYM_TYPE_NULL + ComplexType: IMAGE_SYM_DTYPE_NULL + StorageClass: IMAGE_SYM_CLASS_STATIC + SectionDefinition: + Length: 0 + NumberOfRelocations: 0 + NumberOfLinenumbers: 0 + CheckSum: 0 + Number: 0 + - Name: '.debug$T' + Value: 0 + SectionNumber: 2 + SimpleType: IMAGE_SYM_TYPE_NULL + ComplexType: IMAGE_SYM_DTYPE_NULL + StorageClass: IMAGE_SYM_CLASS_STATIC + SectionDefinition: + Length: 0 + NumberOfRelocations: 0 + NumberOfLinenumbers: 0 + CheckSum: 0 + Number: 0 +... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-11.0.0.src/test/COFF/Inputs/precomp2.yaml new/lld-11.0.1.src/test/COFF/Inputs/precomp2.yaml --- old/lld-11.0.0.src/test/COFF/Inputs/precomp2.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/lld-11.0.1.src/test/COFF/Inputs/precomp2.yaml 2020-12-18 20:57:38.000000000 +0100 @@ -0,0 +1,82 @@ +--- !COFF +header: + Machine: IMAGE_FILE_MACHINE_AMD64 + Characteristics: [ ] +sections: + - Name: '.debug$S' + Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] + Alignment: 1 + Subsections: + - !Symbols + Records: + - Kind: S_OBJNAME + ObjNameSym: + Signature: 545589255 + ObjectName: 'D:\llvm-project\lld\test\COFF\Inputs\precomp2.obj' + - Kind: S_COMPILE3 + Compile3Sym: + Flags: [ SecurityChecks, HotPatch ] + Machine: X64 + FrontendMajor: 19 + FrontendMinor: 13 + FrontendBuild: 26131 + FrontendQFE: 1 + BackendMajor: 19 + BackendMinor: 13 + BackendBuild: 26131 + BackendQFE: 1 + Version: 'Microsoft (R) Optimizing Compiler' + - !StringTable + Strings: + - 'D:\llvm-project\lld\test\COFF\precomp\precomp.pch' + - Name: '.debug$P' + Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ ] + Alignment: 1 + PrecompTypes: + - Kind: LF_STRUCTURE + Class: + MemberCount: 0 + Options: [ None, ForwardReference, HasUniqueName ] + FieldList: 0 + Name: _s__CatchableType + UniqueName: '.?AU_s__CatchableType@@' + DerivationList: 0 + VTableShape: 0 + Size: 0 + - Kind: LF_MODIFIER + Modifier: + ModifiedType: 4096 + Modifiers: [ None, Const ] + - Kind: LF_POINTER + Pointer: + ReferentType: 4096 + Attrs: 65548 + - Kind: LF_ENDPRECOMP + EndPrecomp: + Signature: 545589255 +symbols: + - Name: '.debug$S' + Value: 0 + SectionNumber: 1 + SimpleType: IMAGE_SYM_TYPE_NULL + ComplexType: IMAGE_SYM_DTYPE_NULL + StorageClass: IMAGE_SYM_CLASS_STATIC + SectionDefinition: + Length: 0 + NumberOfRelocations: 0 + NumberOfLinenumbers: 0 + CheckSum: 0 + Number: 0 + - Name: '.debug$P' + Value: 0 + SectionNumber: 2 + SimpleType: IMAGE_SYM_TYPE_NULL + ComplexType: IMAGE_SYM_DTYPE_NULL + StorageClass: IMAGE_SYM_CLASS_STATIC + SectionDefinition: + Length: 0 + NumberOfRelocations: 0 + NumberOfLinenumbers: 0 + CheckSum: 0 + Number: 0 +... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-11.0.0.src/test/COFF/precomp-summary-fail.test new/lld-11.0.1.src/test/COFF/precomp-summary-fail.test --- old/lld-11.0.0.src/test/COFF/precomp-summary-fail.test 1970-01-01 01:00:00.000000000 +0100 +++ new/lld-11.0.1.src/test/COFF/precomp-summary-fail.test 2020-12-18 20:57:38.000000000 +0100 @@ -0,0 +1,21 @@ + +The input files were tailored so that we end up with a resulting IPI stream +smaller than the TPI stream, which would previously trigger a crash with +/summary. + +RUN: rm -rf %t && mkdir %t +RUN: yaml2obj < %S/Inputs/precomp2.yaml -o %t\precomp2.obj +RUN: yaml2obj < %S/Inputs/precomp2-a.yaml -o %t\precomp2-a.obj +RUN: lld-link %t\precomp2-a.obj %t\precomp2.obj /nodefaultlib /noentry \ +RUN: /dll /out:%t.dll /debug /summary | FileCheck %s -check-prefix SUMMARY + +SUMMARY: Summary +SUMMARY-NEXT: -------------------------------------------------------------------------------- +SUMMARY-NEXT: 2 Input OBJ files (expanded from all cmd-line inputs) +SUMMARY-NEXT: 0 PDB type server dependencies +SUMMARY-NEXT: 1 Precomp OBJ dependencies +SUMMARY-NEXT: 5 Merged TPI records +SUMMARY-NEXT: 1 Output PDB strings +SUMMARY-NEXT: 0 Global symbol records +SUMMARY-NEXT: 4 Module symbol records +SUMMARY-NEXT: 0 Public symbol records diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-11.0.0.src/test/ELF/linkorder-mixed2.s new/lld-11.0.1.src/test/ELF/linkorder-mixed2.s --- old/lld-11.0.0.src/test/ELF/linkorder-mixed2.s 1970-01-01 01:00:00.000000000 +0100 +++ new/lld-11.0.1.src/test/ELF/linkorder-mixed2.s 2020-12-18 20:57:38.000000000 +0100 @@ -0,0 +1,22 @@ +# REQUIRES: x86 +## In a relocatable link, don't combine SHF_LINK_ORDER and non-SHF_LINK_ORDER +## like we don't combine SHF_LINK_ORDER with different linked-to sections +## (see linkerscript/linkorder-linked-to.s). +## Test we support adding a non-SHF_LINK_ORDER section as an orphan first. + +# RUN: llvm-mc -filetype=obj --triple=x86_64 %s -o %t.o + +# RUN: ld.lld -r %t.o -o %t.ro +# RUN: llvm-readelf -x foo %t.ro | FileCheck %s + +# CHECK: Hex dump of section 'foo': +# CHECK-NEXT: 0x00000000 0100 + +.section foo,"a" +.byte 0 + +.section .text,"ax",@progbits +ret + +.section foo,"ao",@progbits,.text +.byte 1 ++++++ lldb-11.0.0.src.tar.xz -> lldb-11.0.1.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm11/lldb-11.0.0.src.tar.xz /work/SRC/openSUSE:Factory/.llvm11.new.28504/lldb-11.0.1.src.tar.xz differ: char 25, line 1 ++++++ llvm-11.0.0.src.tar.xz -> llvm-11.0.1.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm11/llvm-11.0.0.src.tar.xz /work/SRC/openSUSE:Factory/.llvm11.new.28504/llvm-11.0.1.src.tar.xz differ: char 26, line 1 ++++++ llvm-do-not-install-static-libraries.patch ++++++ --- /var/tmp/diff_new_pack.OBpMr3/_old 2021-01-15 19:44:13.793839332 +0100 +++ /var/tmp/diff_new_pack.OBpMr3/_new 2021-01-15 19:44:13.793839332 +0100 @@ -2,10 +2,10 @@ want after installation. By not copying them in the first place we reduce the disk usage during installation. -Index: clang-11.0.0.src/cmake/modules/AddClang.cmake +Index: clang-11.0.1.src/cmake/modules/AddClang.cmake =================================================================== ---- a/clang-11.0.0.src/cmake/modules/AddClang.cmake -+++ b/clang-11.0.0.src/cmake/modules/AddClang.cmake +--- a/clang-11.0.1.src/cmake/modules/AddClang.cmake ++++ b/clang-11.0.1.src/cmake/modules/AddClang.cmake @@ -106,12 +106,15 @@ macro(add_clang_library name) set_property(GLOBAL PROPERTY CLANG_HAS_EXPORTS True) endif() @@ -68,10 +68,10 @@ endif() if (ARG_MODULE) set_target_properties(${name} PROPERTIES FOLDER "Loadable modules") -Index: lld-11.0.0.src/cmake/modules/AddLLD.cmake +Index: lld-11.0.1.src/cmake/modules/AddLLD.cmake =================================================================== ---- a/lld-11.0.0.src/cmake/modules/AddLLD.cmake -+++ b/lld-11.0.0.src/cmake/modules/AddLLD.cmake +--- a/lld-11.0.1.src/cmake/modules/AddLLD.cmake ++++ b/lld-11.0.1.src/cmake/modules/AddLLD.cmake @@ -17,13 +17,6 @@ macro(add_lld_library name) set_property(GLOBAL PROPERTY LLD_HAS_EXPORTS True) endif() @@ -86,10 +86,10 @@ if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES) add_llvm_install_targets(install-${name} DEPENDS ${name} -Index: polly-11.0.0.src/cmake/polly_macros.cmake +Index: polly-11.0.1.src/cmake/polly_macros.cmake =================================================================== ---- a/polly-11.0.0.src/cmake/polly_macros.cmake -+++ b/polly-11.0.0.src/cmake/polly_macros.cmake +--- a/polly-11.0.1.src/cmake/polly_macros.cmake ++++ b/polly-11.0.1.src/cmake/polly_macros.cmake @@ -42,12 +42,14 @@ macro(add_polly_library name) llvm_config(${name} ${LLVM_LINK_COMPONENTS}) endif( LLVM_LINK_COMPONENTS ) @@ -110,10 +110,10 @@ endmacro(add_polly_library) macro(add_polly_loadable_module name) -Index: polly-11.0.0.src/lib/CMakeLists.txt +Index: polly-11.0.1.src/lib/CMakeLists.txt =================================================================== ---- a/polly-11.0.0.src/lib/CMakeLists.txt -+++ b/polly-11.0.0.src/lib/CMakeLists.txt +--- a/polly-11.0.1.src/lib/CMakeLists.txt ++++ b/polly-11.0.1.src/lib/CMakeLists.txt @@ -74,7 +74,7 @@ set_target_properties(PollyCore PROPERTI # It depends on all library it needs, such that with # LLVM_POLLY_LINK_INTO_TOOLS=ON, its dependencies like PollyISL are linked as ++++++ llvm-docs-11.0.0.src.tar.xz -> llvm-docs-11.0.1.src.tar.xz ++++++ ++++ 18940 lines of diff (skipped) ++++++ openmp-11.0.0.src.tar.xz -> openmp-11.0.1.src.tar.xz ++++++ ++++++ polly-11.0.0.src.tar.xz -> polly-11.0.1.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm11/polly-11.0.0.src.tar.xz /work/SRC/openSUSE:Factory/.llvm11.new.28504/polly-11.0.1.src.tar.xz differ: char 25, line 1
