summaryrefslogtreecommitdiffstats
path: root/lib/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* META MODE: Rework [bootstrapped] tools PATH support.bdrewery2015-12-011-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Support more of the toolchain from TOOLSDIR. - This also improves 'make bootstrap-tools' to pass, for example, AS=/usr/bin/as to Makefile.inc1, which will tell cross-tools to use external toolchain support and avoid building things we won't be using in the build. - Always set the PATH to contain the staged TOOLSDIR directories when not building the bootstrap targets. The previous version was only setting this at MAKE.LEVEL==0 and if the TOOLSDIR existed. Both of these prevented using staged tools that were built during the build though as DIRDEPS with .host dependencies, such as the fix for needing usr.bin/localedef.host in r291311. This is not a common tool so we must build and use it during the build, and need to be prepared to change PATH as soon as it appears. This should also fix the issue of host dependencies disappearing from Makefile.depend and then reappearing due to the start of the fresh build not having the directory yet, resulting in the tools that were built not actually being used. - Only use LEGACY_TOOLS while building in Makefile.inc1. After r291317 and r291546 there is no need to add LEGACY_TOOLS into the PATH for the pseudo/targets/toolchain build. - Because the pseudo/targets/toolchain will now build its own [clang-]tblgen, the special logic in clang.build.mk is no longer needed. - LEGACY_TOOLS is no longer used outside of targets/pseudo/bootstrap-tools so is no longer passed into the environment in its build. Sponsored by: EMC / Isilon Storage Division
* META MODE: Fix rebuilding of lib/clang/include after clang-tblgen.host isbdrewery2015-12-012-3/+1
| | | | | | | | | | | | | | | staged. None of usr.bin/clang/clang-tblgen or its dependencies need lib/clang/include, so there is no cyclic dependency here to worry about. The issue came about because of workarounds to dependencies on clang being optional. Without this, the clang-tblgen called during the build would change after it was staged for the host. This would cause lib/clang/include to rebuild due to changed build commands. Sponsored by: EMC / Isilon Storage Division
* Only DIRDEPS_BUILD should trigger this logic.bdrewery2015-11-301-2/+2
| | | | | | Missed in r290816. Sponsored by: EMC / Isilon Storage Division
* libllvmmirparser and libllvmlibdriver are only used in usr.bin/clang/llc andbdrewery2015-11-301-2/+2
| | | | | | | usr.bin/clang/llvm-ar, respectively, when MK_CLANG_EXTRAS is yes. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove redundant DPSRCS which were already in SRCS.bdrewery2015-11-251-1/+0
| | | | | | | DPSRCS already contains all of SRCS. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Switch the default OpenMP runtime for clang to libomp (from the LLVMdim2015-10-182-2/+2
| | | | | project), as libgomp is not supported anyway. You can use the devel/llvm-devel port to install a recent copy of the OpenMP runtime.
* Conditionalize the META_MODE tool handling on MK_META_MODE.bdrewery2015-10-171-0/+2
| | | | | | | It was not being used outside of META_MODE but this should make it more clear that it is only for META_MODE. Sponsored by: EMC / Isilon Storage Division
* Use -fpermissive if compiling with GCC.rodrigc2015-10-081-0/+3
| | | | | | Works around GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67888 when compiling Module.cpp
* For llvm/clang libraries, skip including tablegen-produced .d files whendim2015-10-061-3/+5
| | | | | | | | the target is "make depend". This works around errors during incremental make depend of some clang libraries, for example "don't know how to make contrib/llvm/include/llvm/IR/IntrinsicsR600.td". Reported by: emaste
* Merge ^/head r288197 through r288456.dim2015-10-012-3/+1
|\
| * META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-252-4/+0
| | | | | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
| * Add missing CLEANFILES.bdrewery2015-09-241-1/+1
| | | | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | Don't install Intrin.h, as this is an intrinsics header for Windows.dim2015-09-201-2/+1
| |
* | Minimize the number of files compiled for clang only (e.g. when neitherdim2015-09-0616-50/+98
| | | | | | | | WITH_CLANG_EXTRAS nor WITH_LLDB is in effect).
* | Update llvm, clang and lldb to 3.7.0 release.dim2015-09-065-10/+8
| |
* | Update lldb to upstream trunk r242221.dim2015-09-062-0/+2
| |
* | Update llvm/clang to r242221.dim2015-08-129-5/+7
| |
* | Update llvm/clang to r241361.dim2015-07-058-4/+13
| |
* | Update LLDB snapshot to upstream r241361emaste2015-07-0424-16/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable upstream commits (upstream revision in parens): - Add a JSON producer to LLDB (228636) - Don't crash on bad DWARF expression (228729) - Add support of DWARFv3 DW_OP_form_tls_address (231342) - Assembly profiler for MIPS64 (232619) - Handle FreeBSD/arm64 core files (233273) - Read/Write register for MIPS64 (233685) - Rework LLDB system initialization (233758) - SysV ABI for aarch64 (236098) - MIPS software single stepping (236696) - FreeBSD/arm live debugging support (237303) - Assembly profiler for mips32 (237420) - Parse function name from DWARF DW_AT_abstract_origin (238307) - Improve LLDB prompt handling (238313) - Add real time signals support to FreeBSDSignals (238316) - Fix race in IOHandlerProcessSTDIO (238423) - MIPS64 Branch instruction emulation for SW single stepping (238820) - Improve OSType initialization in elf object file's arch_spec (239148) - Emulation of MIPS64 floating-point branch instructions (239996) - ABI Plugin for MIPS32 (239997) - ABI Plugin for MIPS64 (240123) - MIPS32 branch emulation and single stepping (240373) - Improve instruction emulation based stack unwinding on ARM (240533) - Add branch emulation to aarch64 instruction emulator (240769)
* | Update llvm/clang build glue.dim2015-06-2313-15/+54
| |
* | Merge ^/head r284188 through r284643.dim2015-06-20131-0/+10565
|\ \ | |/
| * new dependssjg2015-06-1645-8/+3240
| |
| * Add META_MODE support.sjg2015-06-1391-0/+7350
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0882-356/+782
| | |
| | * Merge sync of headsjg2015-05-27125-406/+970
| | |\
| | * \ Merge from head@274682sjg2014-11-193-7/+6
| | |\ \
| | * \ \ Merge head from 7/28sjg2014-08-1924-142/+128
| | |\ \ \
| | * | | | New dependenciessjg2014-05-178-0/+289
| | | | | |
| | * | | | Ensure clang-tblgen in TOOLSDIRsjg2014-05-161-1/+1
| | | | | |
| | * | | | Handle bootstrapping for hostsjg2014-05-161-2/+11
| | | | | |
| | * | | | Avoid circular dependencysjg2014-05-161-0/+3
| | | | | |
| | * | | | Updated dependenciessjg2014-05-1672-208/+250
| | | | | |
| | * | | | Merge from headsjg2014-05-0810-9/+11
| | |\ \ \ \
| | * \ \ \ \ Merge headsjg2014-04-2876-178/+381
| | |\ \ \ \ \
| | * | | | | | Use the tblgen etc we built for host.sjg2013-10-171-0/+4
| | | | | | | |
| | * | | | | | Merge head@256308sjg2013-10-141-2/+2
| | | | | | | |
| | * | | | | | Merge head@256284sjg2013-10-1338-9/+963
| | |\ \ \ \ \ \
| | * | | | | | | Updated dependenciessjg2013-10-1357-752/+858
| | | | | | | | |
| | * | | | | | | New dependenciessjg2013-10-135-0/+163
| | | | | | | | |
| | * | | | | | | Make sure we trigger generation of headerssjg2013-10-121-0/+4
| | | | | | | | |
| | * | | | | | | Merge from headsjg2013-09-0563-145/+288
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ sync from headsjg2013-04-121-1/+9
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Updated dependenciessjg2013-03-1762-204/+462
| | | | | | | | | | |
| | * | | | | | | | | Sync with HEAD.obrien2013-02-0878-144/+260
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Updated/new Makefile.dependsjg2012-11-083-4/+6
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | \ \ \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ \ \ Sync from headsjg2012-11-0440-50/+134
| | |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2271-3/+5688
| | | |/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | | | Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunkdim2015-06-1011-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r239412.
* | | | | | | | | | | | | Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunkdim2015-05-3028-117/+186
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r238337.
* | | | | | | | | | | | Upgrade our copy of clang and llvm to 3.6.1 release.dim2015-05-255-12/+15
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This release contains the following cherry-picked revisions from upstream trunk: 226124 226151 226164 226165 226166 226407 226408 226409 226652 226905 226983 227084 227087 227089 227208 227209 227210 227211 227212 227213 227214 227269 227430 227482 227503 227519 227574 227822 227986 227987 227988 227989 227990 228037 228038 228039 228040 228188 228189 228190 228273 228372 228373 228374 228403 228765 228848 228918 229223 229225 229226 229227 229228 229230 229234 229235 229236 229238 229239 229413 229507 229680 229750 229751 229752 229911 230146 230147 230235 230253 230255 230469 230500 230564 230603 230657 230742 230748 230956 231219 231237 231245 231259 231280 231451 231563 231601 231658 231659 231662 231984 231986 232046 232085 232142 232176 232179 232189 232382 232386 232389 232425 232438 232443 232675 232786 232797 232943 232957 233075 233080 233351 233353 233409 233410 233508 233584 233819 233904 234629 234636 234891 234975 234977 235524 235641 235662 235931 236099 236306 236307 Please note that from 3.5.0 onwards, clang and llvm require C++11 support to build; see UPDATING for more information.
OpenPOWER on IntegriCloud