forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1262781 - Update to clang 3.8 final. r=froydnj
Ideally, we'd use the tarballs from http://llvm.org/releases/download.html but I didn't feel like modifying the script more than I already did to make it work at all (bug 1262735). The new tarball for Linux was built on https://tools.taskcluster.net/task-inspector/#LCUn8aEgTBeRJ11a3qTlDQ/0 The new tarball for Mac was built on a loaner, after installing cmake and ninja, as well as building ld64 127.2 from source because the installed version would assert while building clang. The latter required manually adding some missing headers to /usr/include. TSAN was also disabled because it requires APIs that are not available on the OSX version on the build slaves (e.g. pthread_introspection_hook_install). Building clang also required using a mac clang from tooltool, the system one lacking support for atomics.
- Loading branch information
Showing
12 changed files
with
50 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
browser/config/tooltool-manifests/linux64/clang.manifest.centos6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
browser/config/tooltool-manifests/macosx64/cross-releng.manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/compiler-rt/cmake/config-ix.cmake | ||
+++ b/compiler-rt/cmake/config-ix.cmake | ||
@@ -617,7 +617,7 @@ | ||
endif() | ||
|
||
if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND | ||
- OS_NAME MATCHES "Darwin|Linux|FreeBSD") | ||
+ OS_NAME MATCHES "Linux|FreeBSD") | ||
set(COMPILER_RT_HAS_TSAN TRUE) | ||
else() | ||
set(COMPILER_RT_HAS_TSAN FALSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
commit 009de5ea7a1913f0b4619cf514787bd52af38c28 | ||
Author: Michael Wu <[email protected]> | ||
Date: Thu Sep 24 11:36:08 2015 -0400 | ||
|
||
Return an empty string when a symbol isn't mangled | ||
|
||
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp | ||
index 9fa18d3..1253832 100644 | ||
--- a/clang/tools/libclang/CIndex.cpp | ||
+++ b/clang/tools/libclang/CIndex.cpp | ||
@@ -3891,6 +3891,10 @@ CXString clang_Cursor_getMangling(CXCursor C) { | ||
@@ -3990,6 +3990,10 @@ | ||
ASTContext &Ctx = ND->getASTContext(); | ||
std::unique_ptr<MangleContext> MC(Ctx.createMangleContext()); | ||
|
||
|
@@ -18,4 +16,4 @@ index 9fa18d3..1253832 100644 | |
+ | ||
std::string FrontendBuf; | ||
llvm::raw_string_ostream FrontendBufOS(FrontendBuf); | ||
MC->mangleName(ND, FrontendBufOS); | ||
if (MC->shouldMangleDeclName(ND)) { |