summaryrefslogtreecommitdiffstats
path: root/lldb/lib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Revert r248047 and fix the problem properlyKeno Fischer2015-10-191-1/+0
| | | | | | | | | | | | In r248047, I attempted to fix a build breakage introduced by using llvm's regex support from lldb-mi. However, my approach was flawed when LLVM and lldb are dynamically linked, in which case two copies of LLVMSupport would end up in memory, causing crashes on lldb start up. Instead, use LINK_COMPONENTS to make sure lldb-mi has access to the LLVMSupport symbols without causing duplication in the dynamic library case. llvm-svn: 250751
* Fix the undefined symbol issue with go linking with autotools: build the ↵Sylvestre Ledru2015-10-081-0/+1
| | | | | | LanguageRuntime for Go + link against it llvm-svn: 249681
* Revert commit -r249558 as it is not fixing the issue :/Sylvestre Ledru2015-10-071-1/+0
| | | | llvm-svn: 249585
* Fix a linking issue on lib lldb linking with the new Go supportSylvestre Ledru2015-10-071-0/+1
| | | | llvm-svn: 249558
* Fix Makefile build by adding LLVMSupport to liblldbKeno Fischer2015-09-181-0/+1
| | | | | | | `llvm-mi` now depends on the regex functionality available in LLVM's support library. llvm-svn: 248047
* Add an OperatingSystem plugin to support goroutinesRyan Brown2015-09-161-0/+1
| | | | | | | | | | The Go runtime schedules user level threads (goroutines) across real threads. This adds an OS plugin to create memory threads for goroutines. It supports the 1.4 and 1.5 go runtime. Differential Revision: http://reviews.llvm.org/D5871 llvm-svn: 247852
* Clean up build of JITLoader/GDB in autoconf build.Bruce Mitchener2015-09-111-10/+4
| | | | | | | | | | | | | | Summary: This builds on all platforms, so remove duplication in build configuration. Reviewers: labath, clayborg, emaste Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12792 llvm-svn: 247402
* Link liblldb.so with LLVMObjCARCOpts.aBruce Mitchener2015-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: Problems reported on NetBSD: ``` llvm[4]: Linking Debug+Asserts executable lldb /tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCExpandPass()' /tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCOptPass()' /tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCAPElimPass()' /tmp/build-llvm/Debug+Asserts/lib/liblldb.so: undefined reference to `llvm::createObjCARCContractPass()' clang: error: linker command failed with exit code 1 (use -v to see invocation) /tmp/llvm/Makefile.rules:1434: recipe for target '/tmp/build-llvm/Debug+Asserts/bin/lldb' failed ``` Reviewers: joerg, sas Subscribers: brucem, sas, lldb-commits Change by Kamil Rytarowski <n54@gmx.com> Differential Revision: http://reviews.llvm.org/D12749 llvm-svn: 247383
* Clean up building & linking of Process/elf-core.Bruce Mitchener2015-09-111-5/+2
| | | | | | | | | | | | | | | | | | | | | Summary: * cmake/LLDBDependencies.cmake: elf-core is already included globally in LLDB_USED_LIBS, so it doesn't need to be re-added on individual platforms. * lib/Makefile: elf-core is linked on each platform, so move it to the global list of used libraries. * source/Plugins/Makefile: elf-core is built on each platform, so move it to the global list of things to build. Reviewers: clayborg, labath Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12762 llvm-svn: 247366
* Fix Makefile buildKeno Fischer2015-09-051-0/+4
| | | | llvm-svn: 246932
* Bug 24332 - Fix the build of lldb under GNU/Linux when using autotoolsSylvestre Ledru2015-08-051-1/+3
| | | | | | | | | | Reviewers: loladiro, jingham, emaste, zturner, brucem Subscribers: tberghammer, danalbert, srhines, zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D11717 llvm-svn: 244039
* [Makefiles] One more library rename to align with CMakeKeno Fischer2015-07-151-1/+1
| | | | | | | | This one I accidentally missed last time because I confused it with the lldbUtility library. After this, all makefile libraries should have the same names as their CMake counterparts. llvm-svn: 242344
* [Makefiles] Align library names with CMake buildKeno Fischer2015-07-141-30/+23
| | | | | | | | | | | | Summary: This aligns the library names used by the Makefile build to be the same as those create by the CMake build to make switching between the two easier. The only major difficulty was lldbHost which was one library in the CMake system and several in the Makefile system. Most of the other changes are trivial renames. Reviewers: labath Subscribers: emaste, tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D11154 llvm-svn: 242196
* Unbreak Makefile buildKeno Fischer2015-07-091-0/+1
| | | | llvm-svn: 241820
* Add -lpthread to LLDB shared lib link line unconditionallyKeno Fischer2015-06-291-2/+2
| | | | | | | | | | | Usually -lpthread is included due to LLVM link options, but when LLVM threading is disabled, this does not happen. pthread is still needed however because LLDB uses threading regardless of whether LLVM is built with threading support or not. Differential Revision: http://reviews.llvm.org/D5431 llvm-svn: 241006
* Submitting patch from Abhishek for:Greg Clayton2015-06-251-2/+3
| | | | | | http://reviews.llvm.org/D10309 llvm-svn: 240663
* [LLDB][MIPS] ABI Plugin for MIPS64Bhushan D. Attarde2015-06-191-0/+1
| | | | | | | | | | | SUMMARY: This patch implements ABI plugin for MIPS64. Reviewers: clayborg Subscribers: mohit.bhakkad, sagar, jaydeep, emaste, nitesh.jain, lldb-commits Differential Revision: http://reviews.llvm.org/D10534 llvm-svn: 240123
* Don't link ObjCARCOpts twice. Fixes PR22543Keno Fischer2015-06-181-1/+0
| | | | | | | | ObjCARCOpts is already included by ClangCodeGen. Linking it again causes the error in PR22543. Differential Revision: http://reviews.llvm.org/D10399 llvm-svn: 240104
* A correction in rL239997: Added missing entry in lib/MakefileBhushan D. Attarde2015-06-181-0/+1
| | | | llvm-svn: 240002
* Assembly profiler for mips32Bhushan D. Attarde2015-05-151-0/+1
| | | | | | | | | | | Summary: Implementation of assembly profiler for MIPS32 using EmulateInstruction which currently scans only prologue/epilogue assembly instructions. It uses llvm::MCDisassembler to decode assembly instructions. Reviewers: clayborg, jasonmolenda Differential Revision: http://reviews.llvm.org/D9769 llvm-svn: 237420
* This patch adds support aarch64-linux-gnu (SysV) abi in lldb.Omair Javaid2015-04-291-0/+1
| | | | | | | | | This code is also an import from MacOSx implementation as SysV abi is similar to what has been implemented for MacOS but may require a few tweaks. http://reviews.llvm.org/D8538 llvm-svn: 236098
* This patch adds required piece of code for SysV Abi for arm. Omair Javaid2015-04-291-0/+1
| | | | | | | | | | Its mostly imported from MacOSx ABI for arm which is similar. Further tweaking a updates may be required at a later stage. http://reviews.llvm.org/D8539 llvm-svn: 236097
* Initial language runtime support for RenderScript. Colin Riley2015-04-091-0/+1
| | | | | | | | Plan is to have this initialized on a per-process basis somewhat the same as the ObjC library on module loading, but this commit is simply the foundation work and will be incrementally built upon to add that detection functionality. Differential Revision: http://reviews.llvm.org/D8896 llvm-svn: 234503
* Try to fix configure/make build.Zachary Turner2015-03-201-0/+1
| | | | llvm-svn: 232823
* Initial Assembly profiler for mips64Bhushan D. Attarde2015-03-181-0/+1
| | | | | | | | | | | Summary: This is initial implementation of assembly profiler which only scans prologue/epilogue assembly instructions to create CFI instructions. Reviewers: clayborg, jasonmolenda Differential Revision: http://reviews.llvm.org/D7696 llvm-svn: 232619
* Try fixing configure+make build on FreeBSD after r230963Ed Maste2015-03-041-2/+1
| | | | llvm-svn: 231180
* Reduce the number of components initialized by lldb-server to reduce static ↵Robert Flack2015-03-021-2/+2
| | | | | | | | | | binary size. Separate out the necessary component initialization for lldb-server such that the linker can greatly reduce the binary size. With this patch the size of lldb-server on my 64 bit linux release build drops from 46MB to 26MB. Differential Revision: http://reviews.llvm.org/D7880 llvm-svn: 230963
* Fix configure+make build broken by r228943 (part 2)Tamas Berghammer2015-02-131-1/+2
| | | | llvm-svn: 229104
* Fix some bugs from D5988Justin Hibbits2014-10-311-0/+1
| | | | | | | | | | | | | | | | | | Summary: Ed Maste found some problems with the commit in D5988. Address most of these. While here, also add floating point return handling. This doesn't handle 128-bit long double yet. Since I don't have any system that uses it, I don't currently have plans to implement it. Reviewers: emaste Reviewed By: emaste Subscribers: emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D6049 llvm-svn: 220963
* First cut of PowerPC(64) support in LLDB.Justin Hibbits2014-10-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Summary: This adds preliminary support for PowerPC/PowerPC64, for FreeBSD. There are some issues still: * Breakpoints don't work well on powerpc64. * Shared libraries don't yet get loaded for a 32-bit process on powerpc64 host. * Backtraces don't work. This is due to PowerPC ABI using a backchain pointer in memory, instead of a dedicated frame pointer register for the backchain. * Breakpoints on functions without debug info may not work correctly for 32-bit powerpc. Reviewers: emaste, tfiala, jingham, clayborg Reviewed By: clayborg Subscribers: emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D5988 llvm-svn: 220944
* Fix the build after the recent plugin additions forEric Christopher2014-10-111-0/+1
| | | | | | AddressSanitizer by adding dependencies and definitions. llvm-svn: 219554
* build: attempt to fix the buildbotsSaleem Abdulrasool2014-09-081-0/+1
| | | | | | | | | | | | | Linking Release+Asserts executable lldb-gdbserver (without symbols) liblldb.so: undefined reference to `lldb_private::MemoryHistoryASan::Initialize()' liblldb.so: undefined reference to `lldb_private::MemoryHistoryASan::Terminate()' liblldb.so: undefined reference to `vtable for lldb_private::TypeValidatorImpl_CXX' liblldb.so: undefined reference to `lldb_private::TypeValidatorImpl::TypeValidatorImpl(lldb_private::TypeValidatorImpl::Flags const&)' liblldb.so underlinked to lldbPluginMemoryHistoryASan.a when building with the make based build system (as opposed to CMake). llvm-svn: 217360
* The original jit no longer exists in llvm, remove from dependencies.Eric Christopher2014-09-061-1/+1
| | | | | | PR20864 llvm-svn: 217301
* Still trying to fix the Make build. Link lldbHostPosix to liblldbZachary Turner2014-08-151-0/+3
| | | | llvm-svn: 215788
* Revert "Fix the build broken as a result of deleting jit from LLVM."Zachary Turner2014-08-071-1/+1
| | | | | | | jit was re-added back to LLVM, so now we require to link against it again. Should it get removed again, then revert this revert. llvm-svn: 215170
* Fix the build broken as a result of deleting jit from LLVM.Zachary Turner2014-08-071-1/+1
| | | | llvm-svn: 215119
* Update CMakeLists.txt and Makefiles for building/linking the Hexagon ABI and ↵Deepak Panickal2014-07-211-0/+2
| | | | | | Dynamic Loader llvm-svn: 213568
* Fix build broken as a result of r213171.Zachary Turner2014-07-161-1/+1
| | | | | | | | r213171 renames the 'clangRewriteCore' library to 'clangRewrite'. This change simply updates the makefiles to reference the correct library name. llvm-svn: 213181
* Add kalimba as a platform.Todd Fiala2014-07-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This change comprises of additions and some minor changes in order that "kalimba" is listed as a supported platform and that debugging any kalimbas results in PlatformKalimba being associated with the target. The changes are as follows: * The PlatformKalimba implementation itself * A tweak to ArchSpec * .note parsing for Kalimba in ObjectFileELF.cpp * Plugin registration * Makefile additions Change by Matthew Gardiner Minor tweak for cmake and Xcode by Todd Fiala Tested: Ubuntu 14.04 x86_64, clang 3.5-built lldb, all tests pass. MacOSX 10.9.4, Xcode 6.0 Beta 1-built lldb, all tests pass. llvm-svn: 213158
* Patch from Keno Fischer to enable JITLoaderGDB with mach-o file support.Greg Clayton2014-06-241-1/+3
| | | | | | The patch is as is with the functionality left disabled for apple vendors because of performance regressions. If this is enabled it ends up searching for symbols in all shared libraries that are loadeded. llvm-svn: 211638
* Attempt to fix the buildDmitri Gribenko2014-04-251-0/+1
| | | | | | | | | | | | It looks like on 18th April clang added dependency from clangCodeGen.a to LLVMProfileData.a and since then lldb have problem with linking to clangCodeGen.a due to missing symbols. This adds LLVMProfileData.a to USEDLIBS to fix that problem. Patch by Robert Matusewicz. llvm-svn: 207216
* lldb arm64 import.Jason Molenda2014-03-291-0/+2
| | | | | | | | | | | | | | | | These changes were written by Greg Clayton, Jim Ingham, Jason Molenda. It builds cleanly against TOT llvm with xcodebuild. I updated the cmake files by visual inspection but did not try a build. I haven't built these sources on any non-Mac platforms - I don't think this patch adds any code that requires darwin, but please let me know if I missed something. In debugserver, MachProcess.cpp and MachTask.cpp were renamed to MachProcess.mm and MachTask.mm as they picked up some new Objective-C code needed to launch processes when running on iOS. llvm-svn: 205113
* Add ObjectFileJIT libraryEd Maste2014-03-251-0/+1
| | | | llvm-svn: 204698
* Use --whole-archive linker option for minw too.Hafiz Abid Qadeer2014-03-241-0/+3
| | | | | | It is already used for Linux and FreeBSD. llvm-svn: 204603
* Removed a redundant entry.Hafiz Abid Qadeer2014-03-241-4/+0
| | | | | | | Revision 203667 has already added lldbHostWindows.a to USEDLIBS. Revision 203785 just ended up adding a redundant entry. llvm-svn: 204601
* Add some missing libraries for mingw.Hafiz Abid Qadeer2014-03-131-0/+8
| | | | | | Similar functionality already exist on the cmake side. llvm-svn: 203785
* Moved various RegisterContext files from Process/POSIX to Process/Utility ↵Virgile Bello2014-03-121-0/+6
| | | | | | | | | for easier sharing. Fix Windows build by adding JITLoaderGDB and ProcessElfCore. RegisterContext: fixes for Windows build: sizeof(GPR::register) didn't work, switched to sizeof(((GPR*)NULL)->register). llvm-svn: 203667
* Build JITLoader on FreeBSD alsoEd Maste2014-03-051-1/+2
| | | | llvm-svn: 202980
* Add support for JIT debugging on Linux using the GDB JIT interface. Patch ↵Andrew MacPherson2014-03-051-1/+2
| | | | | | written with Keno Fischer. llvm-svn: 202956
* Fixed configure-based build on OS X.Todd Fiala2014-02-281-1/+1
| | | | | | | | | | | | | This change adds a missing include path to the ObjC LanguageRuntime path to the MacOSX SystemRuntime plugin's Makefile. It also adds the panel and curses library to the liblldb shared library linkage step. Changes by Jevin Sweval with a minor tweak. llvm-svn: 202547
OpenPOWER on IntegriCloud