[llvm-branch-commits] [llvm-branch] r353512 - Merging r351387, r351765, and r353374:

2019-02-08 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Feb  8 03:06:27 2019
New Revision: 353512

URL: http://llvm.org/viewvc/llvm-project?rev=353512&view=rev
Log:
Merging r351387, r351765, and r353374:


r351387 | jfb | 2019-01-16 23:22:38 +0100 (Wed, 16 Jan 2019) | 7 lines

[NFC] Factor out + document build requirements

Summary: This change factors out compiler checking / warning, and documents 
LLVM_FORCE_USE_OLD_TOOLCHAIN. It doesn't introduce any functional changes nor 
policy changes, these will come late.

Subscribers: mgorny, jkorous, dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D56799



r351765 | jfb | 2019-01-22 00:53:52 +0100 (Tue, 22 Jan 2019) | 24 lines

Document toolchain update policy

Summary:
Capture the current agreed-upon toolchain update policy based on the following
discussions:

  - LLVM dev meeting 2018 BoF "Migrating to C++14, and beyond!"
llvm.org/devmtg/2018-10/talk-abstracts.html#bof3
  - A Short Policy Proposal Regarding Host Compilers
lists.llvm.org/pipermail/llvm-dev/2018-May/123238.html
  - Using C++14 code in LLVM (2018)
lists.llvm.org/pipermail/llvm-dev/2018-May/123182.html
  - Using C++14 code in LLVM (2017)
lists.llvm.org/pipermail/llvm-dev/2017-October/118673.html
  - Using C++14 code in LLVM (2016)
lists.llvm.org/pipermail/llvm-dev/2016-October/105483.html
  - Document and Enforce new Host Compiler Policy
llvm.org/D47073
  - Require GCC 5.1 and LLVM 3.5 at a minimum
llvm.org/D46723

Subscribers: jkorous, dexonsmith, llvm-commits

Differential Revision: https://reviews.llvm.org/D56819



r353374 | jfb | 2019-02-07 06:20:00 +0100 (Thu, 07 Feb 2019) | 12 lines

Bump minimum toolchain version

Summary:
The RFC on moving past C++11 got good traction:
  http://lists.llvm.org/pipermail/llvm-dev/2019-January/129452.html

This patch therefore bumps the toolchain versions according to our policy:
  llvm.org/docs/DeveloperPolicy.html#toolchain

Subscribers: mgorny, jkorous, dexonsmith, llvm-commits, mehdi_amini, jyknight, 
rsmith, chandlerc, smeenai, hans, reames, lattner, lhames, erichkeane

Differential Revision: https://reviews.llvm.org/D57264


Modified:
llvm/branches/release_80/   (props changed)
llvm/branches/release_80/CMakeLists.txt
llvm/branches/release_80/cmake/modules/CheckCompilerVersion.cmake
llvm/branches/release_80/docs/CMake.rst
llvm/branches/release_80/docs/DeveloperPolicy.rst
llvm/branches/release_80/docs/GettingStarted.rst

Propchange: llvm/branches/release_80/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Feb  8 03:06:27 2019
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,351325,351344-351345,351349,351351,351370,351381,351421,351426,351436,351475,351485,351753-351754,351910,351930,351932,352034,352204,352246,352374,352555,352770,352889,352945,353082,353155,353218,353304,353367
+/llvm/trunk:155241,351325,351344-351345,351349,351351,351370,351381,351387,351421,351426,351436,351475,351485,351753-351754,351765,351910,351930,351932,352034,352204,352246,352374,352555,352770,352889,352945,353082,353155,353218,353304,353367,353374

Modified: llvm/branches/release_80/CMakeLists.txt
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_80/CMakeLists.txt?rev=353512&r1=353511&r2=353512&view=diff
==
--- llvm/branches/release_80/CMakeLists.txt (original)
+++ llvm/branches/release_80/CMakeLists.txt Fri Feb  8 03:06:27 2019
@@ -383,9 +383,12 @@ option(LLVM_ENABLE_EXPENSIVE_CHECKS "Ena
 set(LLVM_ABI_BREAKING_CHECKS "WITH_ASSERTS" CACHE STRING
   "Enable abi-breaking checks.  Can be WITH_ASSERTS, FORCE_ON or FORCE_OFF.")
 
-option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
+option(LLVM_FORCE_USE_OLD_TOOLCHAIN
"Set to ON to force using an old, unsupported host toolchain." OFF)
 
+option(LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN
+   "Set to ON to only warn when using a toolchain which is about to be 
deprecated, instead of emitting an error." OFF)
+
 option(LLVM_USE_INTEL_JITEVENTS
   "Use Intel JIT API to inform Intel(R) VTune(TM) Amplifier XE 2011 about JIT 
code"
   OFF)

Modified: llvm/branches/release_80/cmake/modules/CheckCompilerVersion.cmake
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_80/cmake/modules/CheckCompilerVersion.cmake?rev=353512&r1=353511&r2=353512&view=diff
=

[llvm-branch-commits] [llvm-branch] r353517 - Merging r353463:

2019-02-08 Thread Hans Wennborg via llvm-branch-commits
Author: hans
Date: Fri Feb  8 06:17:53 2019
New Revision: 353517

URL: http://llvm.org/viewvc/llvm-project?rev=353517&view=rev
Log:
Merging r353463:

r353463 | smeenai | 2019-02-07 21:58:04 +0100 (Thu, 07 Feb 2019) | 4 lines

[cmake] Pass LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN to NATIVE configure

We should propagate this down to host builds so that e.g. people using
an optimized tablegen can do the sub-configure successfully.


Modified:
llvm/branches/release_80/   (props changed)
llvm/branches/release_80/cmake/modules/CrossCompile.cmake

Propchange: llvm/branches/release_80/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Feb  8 06:17:53 2019
@@ -1,3 +1,3 @@
 /llvm/branches/Apple/Pertwee:110850,110961
 /llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,351325,351344-351345,351349,351351,351370,351381,351387,351421,351426,351436,351475,351485,351753-351754,351765,351910,351930,351932,352034,352204,352246,352374,352555,352770,352889,352945,353082,353155,353218,353304,353367,353374
+/llvm/trunk:155241,351325,351344-351345,351349,351351,351370,351381,351387,351421,351426,351436,351475,351485,351753-351754,351765,351910,351930,351932,352034,352204,352246,352374,352555,352770,352889,352945,353082,353155,353218,353304,353367,353374,353463

Modified: llvm/branches/release_80/cmake/modules/CrossCompile.cmake
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_80/cmake/modules/CrossCompile.cmake?rev=353517&r1=353516&r2=353517&view=diff
==
--- llvm/branches/release_80/cmake/modules/CrossCompile.cmake (original)
+++ llvm/branches/release_80/cmake/modules/CrossCompile.cmake Fri Feb  8 
06:17:53 2019
@@ -52,6 +52,7 @@ function(llvm_create_cross_target_intern
 
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${experimental_targets_to_build_arg}"
 -DLLVM_DEFAULT_TARGET_TRIPLE="${TARGET_TRIPLE}"
 -DLLVM_TARGET_ARCH="${LLVM_TARGET_ARCH}"
+
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN="${LLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN}"
 ${build_type_flags} ${linker_flag} ${external_clang_dir}
 WORKING_DIRECTORY ${LLVM_${target_name}_BUILD}
 DEPENDS CREATE_LLVM_${target_name}


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [llvm-branch] r353565 - cmake: Use 7.1.0 for shared object version instead of 71.0

2019-02-08 Thread Tom Stellard via llvm-branch-commits
Author: tstellar
Date: Fri Feb  8 13:00:26 2019
New Revision: 353565

URL: http://llvm.org/viewvc/llvm-project?rev=353565&view=rev
Log:
cmake: Use 7.1.0 for shared object version instead of 71.0

Modified:
llvm/branches/release_70/cmake/modules/AddLLVM.cmake

Modified: llvm/branches/release_70/cmake/modules/AddLLVM.cmake
URL: 
http://llvm.org/viewvc/llvm-project/llvm/branches/release_70/cmake/modules/AddLLVM.cmake?rev=353565&r1=353564&r2=353565&view=diff
==
--- llvm/branches/release_70/cmake/modules/AddLLVM.cmake (original)
+++ llvm/branches/release_70/cmake/modules/AddLLVM.cmake Fri Feb  8 13:00:26 
2019
@@ -502,7 +502,7 @@ function(llvm_add_library name)
# one component indicating the ABI version, while LLVM uses
# major+minor for that.
 SOVERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}
-VERSION 
${LLVM_VERSION_MAJOR}${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
+VERSION 
${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
 endif()
   endif()
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits


[llvm-branch-commits] [lld] r353574 - - Update ReleaseNotes for lld 8.0.0.

2019-02-08 Thread Rui Ueyama via llvm-branch-commits
Author: ruiu
Date: Fri Feb  8 14:03:46 2019
New Revision: 353574

URL: http://llvm.org/viewvc/llvm-project?rev=353574&view=rev
Log:
- Update ReleaseNotes for lld 8.0.0.

Modified:
lld/branches/release_80/docs/ReleaseNotes.rst

Modified: lld/branches/release_80/docs/ReleaseNotes.rst
URL: 
http://llvm.org/viewvc/llvm-project/lld/branches/release_80/docs/ReleaseNotes.rst?rev=353574&r1=353573&r2=353574&view=diff
==
--- lld/branches/release_80/docs/ReleaseNotes.rst (original)
+++ lld/branches/release_80/docs/ReleaseNotes.rst Fri Feb  8 14:03:46 2019
@@ -13,10 +13,12 @@ lld 8.0.0 Release Notes
 Introduction
 
 
-This document contains the release notes for the lld linker, release 8.0.0.
-Here we describe the status of lld, including major improvements
-from the previous release. All lld releases may be downloaded
-from the `LLVM releases web site `_.
+lld is a high-performance linker that supports ELF (Unix), COFF (Windows),
+Mach-O (macOS), MinGW and WebAssembly. lld is command-line-compatible with
+GNU linkers and Microsoft link.exe and is significantly faster than the
+system default linkers.
+
+nlld 8.0.0 has lots of feature improvements and bug fixes.
 
 Non-comprehensive list of changes in this release
 =
@@ -33,16 +35,35 @@ ELF Improvements
   non-superpages to a superpage if they are aligned to the superpage
   size. (`r342746 `_)
 
+* lld now attempts to place a ``.note`` segment in the first page of a
+  generated file, so that you can find some important information
+  (``.note.gnu.build-id`` in particular) in a core file even if a core
+  file is truncated by ulimit.
+  (`r349524 `_)
+
+* lld now reports an error if ``_GLOBAL_OFFSET_TABLE_`` symbol is
+  defined by an input object file, as the symbol is supposed to be
+  synthesized by the linker.
+  (`r347854 `_)
+
 * lld/Hexagon can now link Linux kernel and musl libc for Qualcomm
   Hexagon ISA.
 
 * Initial MSP430 ISA support has landed.
 
-* The following flags have been added: ``-z interpose``, ``-z global``
-
 * lld now uses the ``sigrie`` instruction as a trap instruction for
   MIPS targets.
 
+* lld now creates a TLS segment for AArch64 with a slightly larger
+  alignment requirement, so that the loader makes a few bytes room
+  before each TLS segment at runtime. The aim of this change is to
+  make room to accomodate nonstandard Android TLS slots while keeping
+  the compatibility with the standard AArch64 ABI.
+  (`r350681 `_)
+
+* The following flags have been added: ``-z interpose``, ``-z global``, ``-z
+  nodefaultlib``
+
 COFF Improvements
 -
 
@@ -95,11 +116,6 @@ MinGW Improvements
   Previously, the ``--build-id`` option did not actually generate a build id
   unless ``--pdb`` was specified.
 
-MachO Improvements
---
-
-* Item 1.
-
 WebAssembly Improvements
 
 


___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits