summaryrefslogtreecommitdiffstats
path: root/usr.bin/clang
Commit message (Collapse)AuthorAgeFilesLines
* Convert to LIBADDbapt2015-06-151-2/+1
|
* Add META_MODE support.sjg2015-06-134-0/+181
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-2738-613/+1133
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-194-8/+2
| |\
| * \ Merge head from 7/28sjg2014-08-197-7/+13
| |\ \
| * | | Pay attention to MK_SHARED_TOOLCHAINsjg2014-05-161-0/+5
| | | |
| * | | Updated dependenciessjg2014-05-163-8/+10
| | | |
| * | | Updated dependssjg2014-05-101-0/+8
| | | |
| * | | Merge from headsjg2014-05-082-2/+2
| |\ \ \
| * \ \ \ Merge headsjg2014-04-2832-472/+264
| |\ \ \ \
| * \ \ \ \ Merge head@256284sjg2013-10-132-1/+142
| |\ \ \ \ \
| * | | | | | Updated dependenciessjg2013-10-131-1/+5
| | | | | | |
| * | | | | | Merge from headsjg2013-09-0534-545/+486
| |\ \ \ \ \ \
| * \ \ \ \ \ \ sync from headsjg2013-04-1220-5/+45
| |\ \ \ \ \ \ \
| * | | | | | | | Updated dependenciessjg2013-03-173-12/+11
| | | | | | | | |
| * | | | | | | | Sync with HEAD.obrien2013-02-0810-27/+74
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Updated/new Makefile.dependsjg2012-11-082-0/+2
| | | | | | | | | |
| | | | | | | | | |
| | \ \ \ \ \ \ \ \
| *-. \ \ \ \ \ \ \ \ Sync from headsjg2012-11-0432-3643/+2818
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-223-0/+150
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | Add the llvm-cov and llvm-profdata tools, when WITH_CLANG_EXTRAS isdim2015-04-035-0/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined. These help with processing coverage and profile data.
* | | | | | | | | | | Regenerated llvm/clang manpages.dim2015-03-1415-45/+44
| | | | | | | | | | |
* | | | | | | | | | | Merge llvm 3.6.0rc3 from ^/vendor/llvm/dist, merge clang 3.6.0rc3 fromdim2015-02-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ^/vendor/clang/dist, resolve conflicts, and update patches README.
* | | | | | | | | | | Update FreeBSD LLDB build for 3.6 updateemaste2015-02-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: DARPA, AFRL
* | | | | | | | | | | Update llvm and clang library and binary Makefiles for 3.6.0 rc1.dim2015-01-2611-21/+40
| | | | | | | | | | |
* | | | | | | | | | | Add the llvm-symbolizer tool, which enables the sanitizers to reportdim2015-01-103-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more complete debugging information. This tools is only enabled when WITH_CLANG_EXTRAS is on. Submitted by: Dan McGregor <danismostlikely@gmail.com>
* | | | | | | | | | | Remove a few redundant DPADD/LDADD pairs in llvm utilities.dim2015-01-102-4/+0
| | | | | | | | | | |
* | | | | | | | | | | Regenerate the manpages for the additional llvm/clang tools. Thisdim2015-01-1013-56/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contains only very minor updates.
* | | | | | | | | | | Add the AArch64 llvm backend to the build to allow for early testing anddim2015-01-079-40/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ease any rework of how clang is built to take arm64 in to account. Submitted by: andrew Reviewed by: andrew, emaste Differential Revision: https://reviews.freebsd.org/D1446
* | | | | | | | | | | Update build for LLDB snapshot at upstream rev 216948emaste2014-11-261-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: DARPA, AFRL
* | | | | | | | | | | Update llvm and clang binary Makefiles.dim2014-11-2415-53/+169
| | | | | | | | | | |
* | | | | | | | | | | Regenerate the manpage in mdoc(7) format using pod2mdocbapt2014-11-231-433/+280
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now mandoc can render the manpage properly
* | | | | | | | | | Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd"ngie2014-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, add a missing LIBPANEL dependency for lldb Approved by: rpaulo (mentor) Suggested by: brooks MFC after: 5 days Phabric: D675 (as part of a larger diff) PR: 192762
* | | | | | | | | | Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-08-193-6/+0
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib
* | | | | | | | | Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
* | | | | | | | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-083-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* | | | | | | | | Eliminate EARLY_BUILD flag. It is redundant and means MK_CLANG_FULL=noimp2014-05-101-2/+2
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and MK_LLDB=no, so set those explicitly (now that we can do that). Simplify tests for these variables as well, since we know they will always be defined regardless of the phase of the build.
* | | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-062-2/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | from the latter.
* | | | | | | NO_MAN= has been deprecated in favor of MAN= for some time, go aheadimp2014-04-135-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
* | | | | | | Enable parallel building for gnu/usr.bin and usr.bin/clang too.dim2014-03-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks X-MFC-With: r263778
* | | | | | | Apply fix for lldb not linking after the sparc backend import.dim2014-03-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: se Pointy hat to: dim
* | | | | | | Merge from head up to r262536.dim2014-02-261-2/+3
|\ \ \ \ \ \ \
| * | | | | | | Update LLDB bmake build for r262187emaste2014-02-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: DARPA, AFRL
* | | | | | | | Add Makefile glue to build the Sparc backend libraries and link themdim2014-02-206-0/+36
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | into the clang executable.
* | | | | | | Update lldb for clang/llvm 3.4 importemaste2014-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit largely restores the lldb source to the upstream r196259 snapshot with the addition of threaded inferior support and a few bug fixes. Specific upstream lldb revisions restored include: SVN git 181387 779e6ac 181703 7bef4e2 182099 b31044e 182650 f2dcf35 182683 0d91b80 183862 15c1774 183929 99447a6 184177 0b2934b 184948 4dc3761 184954 007e7bc 186990 eebd175 Sponsored by: DARPA, AFRL
* | | | | | | Upgrade our copy of llvm/clang to 3.4 release. This version supportsdim2014-02-1630-477/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: <http://llvm.org/releases/3.4/docs/ReleaseNotes.html> <http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html> MFC after: 1 month
* | | | | | | Enable llvm's integrated assembler for PowerPC, since it should now bedim2013-12-167-6/+13
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | good enough for typical usage. Requested by: rdivacky MFC after: 1 week
* | | | | | Add LLDB bmake infrastructureemaste2013-09-202-1/+142
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This connects LLDB to the build, but it is disabled by default. Add WITH_LLDB= to src.conf to build it. Note that LLDB requires a C++11 compiler so is disabled on platforms using GCC. Approved by: re (gjb) Sponsored by: DARPA, AFRL
* | | | | Upgrade our copy of llvm/clang to 3.3 release.dim2013-06-125-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes are still in the works, these will follow soon. MFC after: 1 month
* | | | | Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-1233-541/+467
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
OpenPOWER on IntegriCloud