From cea63c570af2be1f8ba63c7927ae46a325bf517b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 2 Oct 2018 00:04:05 +0300 Subject: [PATCH] Update llvm/clang/lld to the latest version This version allows clang to use address sanitizer for mingw, adds support for linking against import libraries from GNU tools and makes the linker provide the __CTOR_LIST__ symbol for better compatibility with binutils based sysroots, and adds support for thunks for armv7 (allowing linking armv7 binaries over 16 MB). --- README.md | 1 - build-llvm.sh | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fffb6a1..879221e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,6 @@ Known issues LLD, the LLVM linker, is what causes most of the major differences to the normal GCC/binutils based MinGW. -- LLD doesn't support using import libraries created by GNU tools. - The windres replacement, llvm-rc, isn't very mature and doesn't support everything that GNU windres does. - The DLL version of libc++ doesn't have a fixed supported ABI, so in theory, diff --git a/build-llvm.sh b/build-llvm.sh index 556be82..b579461 100755 --- a/build-llvm.sh +++ b/build-llvm.sh @@ -48,13 +48,13 @@ fi if [ -n "$SYNC" ] || [ -n "$CHECKOUT" ]; then cd llvm [ -z "$SYNC" ] || git fetch - git checkout 3e090e5aa550f55ab68927d18022c4e244733ab8 + git checkout 5877e4ed63ba21fb57f2c7fb4ed4950288e2a28c cd tools/clang [ -z "$SYNC" ] || git fetch - git checkout 1bc73590ad1335313e8f262393547b8af67c9167 + git checkout a866fe7bf7c577b698229106f0ddc2d31b285de8 cd ../lld [ -z "$SYNC" ] || git fetch - git checkout 4ea826e45cf92d005bf9b1655920897ffc82f366 + git checkout df3e3050ef26292a8c7d2d16b073588eba28db6c cd ../../.. fi