summaryrefslogtreecommitdiff
path: root/lib/clang/liblldb
Commit message (Collapse)AuthorAgeFilesLines
* Update Makefiles under lib/clang and usr.bin/clang for 11.0.0 builds,Dimitry Andric2020-08-061-31/+39
| | | | | | | and also bump the version in the mtree files. Notes: svn path=/projects/clang1100-import/; revision=363984
* Regenerate lib/clang/liblldb/LLDBWrapLua.cpp with swig 4.0.2.Dimitry Andric2020-08-061-799/+1648
| | | | Notes: svn path=/projects/clang1100-import/; revision=363983
* lldb: build and enable lua script bindingsEd Maste2020-04-031-0/+5
| | | | | | | | Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24266 Notes: svn path=/head/; revision=359606
* lldb: commit generated LLDBWrapLua.cppEd Maste2020-04-031-0/+71334
| | | | Notes: svn path=/head/; revision=359600
* lldb: add rule to generate LLDBWrapLua.cppEd Maste2020-04-031-0/+13
| | | | | | | | | | | | | | | | | Building lldb's lua/python bindings requires swig, but we do not want to include it in the FreeBSD base system (as a build tool) because it has non-trivial dependencies. As a workaround, add a make rule to generate LLDBWrapLua.cpp, and we will commit the generated file. Requires the swig30 package. Reviewed by: brooks Discussed with: dim Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D24265 Notes: svn path=/head/; revision=359599
* Update build glue for lldb (MK_LLDB=yes). Also update lldb's generatedDimitry Andric2020-01-271-17/+37
| | | | | | | | Config.h, disable a few more parts in the code we don't use, and add a pre-generated man page. Notes: svn path=/projects/clang1000-import/; revision=357174
* Move all sources from the llvm project into contrib/llvm-project.Dimitry Andric2019-12-201-1/+1
| | | | | | | | | | | | | This uses the new layout of the upstream repository, which was recently migrated to GitHub, and converted into a "monorepo". That is, most of the earlier separate sub-projects with their own branches and tags were consolidated into one top-level directory, and are now branched and tagged together. Updating the vendor area to match this layout is next. Notes: svn path=/head/; revision=355940
* Update build glue for a build of clang plus lldb (enabled via MK_LLDB).Dimitry Andric2019-08-261-11/+46
| | | | Notes: svn path=/projects/clang900-import/; revision=351521
* Update lldb build glue to make MK_LLDB=yes work.Dimitry Andric2019-01-221-13/+20
| | | | Notes: svn path=/projects/clang800-import/; revision=343307
* Update build glue to make WITH_LLDB work.Dimitry Andric2018-08-021-0/+15
| | | | Notes: svn path=/projects/clang700-import/; revision=337134
* Remove SRCS for files that have been deleted upstream.Dimitry Andric2018-07-311-4/+0
| | | | Notes: svn path=/projects/clang700-import/; revision=336990
* Build llvm-extract with -lz, and add a few objects to liblldb, both ofDimitry Andric2018-01-131-0/+2
| | | | | | | | | which turn out to be needed when you don't use -ffunction-sections. Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> Notes: svn path=/projects/clang600-import/; revision=327918
* Next step in updating llvm/clang build glue: make lldb build.Dimitry Andric2017-12-221-0/+10
| | | | Notes: svn path=/projects/clang600-import/; revision=327092
* First step in updating llvm/clang build glue: make only the clangDimitry Andric2017-12-211-2/+0
| | | | | | | executable build. Notes: svn path=/projects/clang600-import/; revision=327069
* Add a few more object files to liblldb, which should solve errors whenDimitry Andric2017-07-241-0/+4
| | | | | | | | | | | | | linking the lldb executable in some cases. In particular, when the -ffunction-sections -fdata-sections options are turned off, or ineffective. Reported by: Shawn Webb, Mark Millard MFC after: 2 months X-MFC-With: r308421 Notes: svn path=/head/; revision=321420
* Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306956, and updateDimitry Andric2017-07-021-4/+4
| | | | | | | build glue. Notes: svn path=/projects/clang500-import/; revision=320572
* Merge llvm, clang, lld, lldb, compiler-rt and libc++ r306325, and updateDimitry Andric2017-06-271-2/+4
| | | | | | | build glue. Notes: svn path=/projects/clang500-import/; revision=320397
* Merge ^/head r319801 through r320041.Dimitry Andric2017-06-171-0/+3
|\ | | | | | | Notes: svn path=/projects/clang500-import/; revision=320042
| * Revert r319796 for now, it can cause undefined references when linkingDimitry Andric2017-06-131-0/+3
| | | | | | | | | | | | | | | | | | in some circumstances. Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> Notes: svn path=/head/; revision=319918
| * Remove a few unneeded files from libllvm, libclang and liblldb.Dimitry Andric2017-06-101-3/+0
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=319796
* | Merge llvm, clang, lld, lldb, compiler-rt and libc++ r303197, and updateDimitry Andric2017-05-161-1/+1
| | | | | | | | | | | | | | build glue. Notes: svn path=/projects/clang500-import/; revision=318384
* | Merge llvm, clang, lld, lldb, compiler-rt and libc++ r302069, and updateDimitry Andric2017-05-031-1/+1
| | | | | | | | | | | | | | build glue (preliminary, not all option combinations work yet). Notes: svn path=/projects/clang500-import/; revision=317778
* | Strip out a few objects from libclang, liblldb and lldb, which are notDimitry Andric2017-04-211-3/+0
| | | | | | | | | | | | | | | | referenced due to the selection of tools that we build, and our compile time options. Notes: svn path=/projects/clang500-import/; revision=317271
* | Update objects in liblldb for the MK_LLDB=yes case.Dimitry Andric2017-04-181-30/+33
|/ | | | Notes: svn path=/projects/clang500-import/; revision=317105
* Update lldb Makefile, and disable some functionality for Windows andDimitry Andric2017-01-041-2/+5
| | | | | | | Darwin. Notes: svn path=/projects/clang400-import/; revision=311304
* Initial updates to llvm/clang build glue.Dimitry Andric2017-01-031-7/+0
| | | | Notes: svn path=/projects/clang400-import/; revision=311166
* DIRDEPS_BUILD: Connect the new clang build.Bryan Drewery2016-09-011-0/+22
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/projects/clang390-import/; revision=305239
* Centralize where LLVM_SRCS, CLANG_SRCS and LLDB_SRCS are defined.Dimitry Andric2016-08-271-3/+1
| | | | Notes: svn path=/projects/clang390-import/; revision=304889
* Use SRCTOP and OBJTOP throughout the llvm/clang/lldb build.Dimitry Andric2016-08-271-3/+3
| | | | Notes: svn path=/projects/clang390-import/; revision=304884
* Completely revamp the way llvm, clang and lldb are built.Dimitry Andric2016-08-262-27/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bootstrap llvm-tblgen and clang-tblgen with a minimal llvm static library, that has no other dependencies. * Roll up all separate llvm libraries into one big static libllvm. * Similar for all separate clang and lldb static libraries. * For all these libraries, generate their .inc files only once. * Link all llvm tools (including extra) against the big libllvm. * Link clang and clang-format against the big libllvm and libclang. * Link lldb against the big libllvm, libclang and liblldb. N.B.: This is work in progress, some details may still be missing. It also heavily depends on bsd.*.mk's support for SRCS and DPSRCS with relative pathnames, which apparently does not always work as expected. For building llvm, clang and lldb though, it seems to work just fine. The main idea behind this restructuring is maintainability and build peformance. The previous large number of very small libraries, each with their own generated files and dependencies was slow to traverse and hard to understand. Possible future improvements: * Only build certain targets, e.g. for most regular users having just one target will be fine. This will shave off some build time. * Building the big llvm, clang and lldb libraries as shared (private) libraries. * Adding other components from the LLVM project, such as lld. Notes: svn path=/projects/clang390-import/; revision=304867
* META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery2015-12-011-13/+0
| | | | | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
* Update LLDB snapshot to upstream r241361Ed Maste2015-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/projects/clang-trunk/; revision=285116
* new dependsSimon J. Gerraty2015-06-161-0/+28
| | | | Notes: svn path=/head/; revision=284481
* Update build for LLDB snapshot at upstream rev 216948Ed Maste2014-11-261-1/+3
| | | | | | | Sponsored by: DARPA, AFRL Notes: svn path=/projects/clang350-import/; revision=275132
* Add LLDB bmake infrastructureEd Maste2013-09-201-0/+18
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 Notes: svn path=/head/; revision=255722