Ehsan Akhgari
b897b4790e
Bug 1331957 - Part 12: Remove -Lclang/lib from the LDFLAGS used to build the clang plugin; r=froydnj
...
This ensures that we correctly link against /usr/lib/libc++.1.dylib.
With this flag left in LDFLAGS, the linker would find libc++.1.dylib in
clang/lib, which would cause us to link against @rpath/libc++.1.dylib.
2017-02-03 10:19:49 -05:00
Iris Hsiao
e7d1ec1886
Backed out 14 changesets (bug 1331957, bug 1336149) for OS X 10.7 debug static analysis build bustage
...
Backed out changeset a01bead75258 (bug 1336149)
Backed out changeset 9a64d3102f6b (bug 1331957)
Backed out changeset a10f7732a754 (bug 1331957)
Backed out changeset 82c98214febe (bug 1331957)
Backed out changeset f74c7a543525 (bug 1331957)
Backed out changeset 6631f3582920 (bug 1331957)
Backed out changeset ccefeba51cf6 (bug 1331957)
Backed out changeset a84b26a07369 (bug 1331957)
Backed out changeset fc0b3a0ad1e5 (bug 1331957)
Backed out changeset bbcae89fd7c2 (bug 1331957)
Backed out changeset ffd70d960b9f (bug 1331957)
Backed out changeset a53ecc295eae (bug 1331957)
Backed out changeset d44a0be29686 (bug 1331957)
Backed out changeset a01a373da6a8 (bug 1331957)
2017-02-03 11:16:08 +08:00
Ehsan Akhgari
8ac5b64b80
Bug 1331957 - Part 12: Remove -Lclang/lib from the LDFLAGS used to build the clang plugin; r=froydnj
...
This ensures that we correctly link against /usr/lib/libc++.1.dylib.
With this flag left in LDFLAGS, the linker would find libc++.1.dylib in
clang/lib, which would cause us to link against @rpath/libc++.1.dylib.
2017-02-02 20:21:00 -05:00
Ting-Yu Chou
a299d4d20b
Bug 1316545 part 1 - Link clang plugin with the import library of clang.exe to fix unresolved symbols. r=ehsan
...
MozReview-Commit-ID: G2PtmjBVacj
2016-11-16 12:36:58 +08:00
Tom Schuster
3cc61134b1
Bug 1302163 - Show an error for [v]snprintf with literals using the clang plugin. r=ehsan
2016-10-04 17:57:50 +02:00
Michael Layzell
89cf71b092
Bug 1278135 - Link against less of Clang and LLVM statically when building the clang plugin, r=glandium
2016-08-05 13:54:08 -04:00
Mike Hommey
4c7112f60f
Followup for bug 1262781: change ASTMatcher check name to force override config.cache on a CLOSED TREE. r=me
2016-04-13 07:17:06 +09:00
Mike Hommey
101f79b100
Bug 1262781 - Use the host compiler for the ASTMatcher check. r=froydnj
...
The check is for the clang plugin, which is a host library. It is especially
important to use the host compiler for this check on OSX-on-Linux cross builds.
2016-04-13 06:54:22 +09:00
Ehsan Akhgari
8d56a4a75f
Bug 1255211 - Add profiledata to the list of LLVM libraries used by the clang plugin; r=jrmuizel
...
This library is needed for linking the clang plugin on Windows with the
trunk clang.
2016-03-10 10:06:51 -05:00
Ehsan Akhgari
b7dad904d3
Bug 1246334 - Add support for building the clang plugin using clang-cl; r=glandium
2016-02-26 07:29:48 -05:00
Ehsan Akhgari
ef18719332
Bug 1245269 - Part 2: Add a configure check for the existence of the new AST Matcher API names; r=glandium
2016-02-05 10:29:39 -05:00
Ehsan Akhgari
3dffc9c59e
Bug 1204763 - Enable cross compiling the clang plugin for OS X on Linux; r=glandium
2015-09-28 22:14:53 -04:00
Ehsan Akhgari
03981eb9bb
Bug 1115426 - Fix static-analysis builds on OSX on the infrasturcture, and add a mozconfig for such builds; r=glandium
...
This also cleans up some of the existing mozconfig files.
2015-01-06 12:01:13 -05:00
Ehsan Akhgari
9c078e03a4
Bug 1112974 - Try to find llvm-config through clang first before looking at $PATH; r=glandium
...
Right now, if the LLVMCONFIG variable is not set in the .mozconfig, we
first look for the system default llvm-config and only then we ask clang
itself, which breaks building with the clang plugin if you make $CC and
$CXX point to a non-default clang binary. This patch fixes the issue
by reversing the search order.
--HG--
extra : rebase_source : 23ab716f4e220097e4c31092475dba769f4e7dfc
2014-12-19 13:13:44 -05:00
Ehsan Akhgari
6a31450ee5
Bug 1109246 - Support the ToT clang in the clang-plugin; r=jrmuizel
2014-12-10 10:46:10 -05:00
Mike Hommey
51f6cc88c1
Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer
2014-09-04 17:44:01 +09:00