summaryrefslogtreecommitdiffstats
path: root/lldb
Commit message (Collapse)AuthorAgeFilesLines
...
* Add dependency on DynamicLoaderStatic to Utility.Zachary Turner2017-03-041-0/+1
| | | | llvm-svn: 296944
* Move DataBuffer / DataExtractor and friends from Core -> Utility.Zachary Turner2017-03-04179-308/+308
| | | | llvm-svn: 296943
* Move UUID from Core -> Utility.Zachary Turner2017-03-0423-27/+33
| | | | llvm-svn: 296941
* Fix the macOS build all the way after r296909.Jim Ingham2017-03-042-72/+97
| | | | llvm-svn: 296938
* Fix DataExtractor failures.Zachary Turner2017-03-034-21/+22
| | | | | | | Some code that doesn't get compiled on Windows had some references that needed updating, and I missed those. llvm-svn: 296930
* Fix Darwin failures introduced in r296909Tim Hammerquist2017-03-031-4/+4
| | | | llvm-svn: 296925
* Fixed repo.py to not send git errors to stderr.Sean Callanan2017-03-031-1/+1
| | | | | | | | Some repos are not git repos, so git is expected to fail. These errors should not go to stderr, because Xcode interprets them as failures. llvm-svn: 296924
* Add a script to dump out all project inter-dependencies.Zachary Turner2017-03-031-0/+65
| | | | llvm-svn: 296920
* Isolate Target-specific functionality of DataExtractor.Zachary Turner2017-03-0325-1143/+1149
| | | | | | | | | | | | | | | | In an effort to move the various DataBuffer / DataExtractor classes from Core -> Utility, we have to separate the low-level functionality from the higher level functionality. Only a few functions required anything other than reading/writing raw bytes, so those functions are separated out into a more appropriate area. Specifically, Dump() and DumpHexBytes() are moved into free functions in Core/DumpDataExtractor.cpp, and GetGNUEHPointer is moved into a static function in the only file that it's referenced from. Differential Revision: https://reviews.llvm.org/D30560 llvm-svn: 296910
* Move Log from Core -> Utility.Zachary Turner2017-03-03274-319/+305
| | | | | | | | | All references to Host and Core have been removed, so this class can now safely be lowered into Utility. Differential Revision: https://reviews.llvm.org/D30559 llvm-svn: 296909
* [Windows] Remove the #include <eh.h> hack.Zachary Turner2017-03-0315-106/+0
| | | | | | | | | | Prior to MSVC 2015 we had to manually include this header any time we were going to include <thread> or <future> due to a bug in MSVC's STL implementation. This has been fixed in MSVC for some time now, and we require VS 2015 minimum, so we can remove this across all subprojects. llvm-svn: 296906
* Android.rules: fix building on macPavel Labath2017-03-031-1/+0
| | | | | | | realpath is not available as an executable on mac. I give up, I am just going to leave the path with ..'s in it. llvm-svn: 296885
* Android.rules: fix building on windowsPavel Labath2017-03-031-1/+1
| | | | | | | | $(realpath), which I guess is a make builtin, gives strange results on Windows. $(shell realpath) invokes the gnuwin external binary, which works correctly. llvm-svn: 296876
* test: shorten test trace file namesPavel Labath2017-03-031-2/+5
| | | | | | | | | | | | | Make sure we don't generate extremely long file names for test trace log file, as this can cause path-too-long errors. As the compilers in the android ndk are deeply nested, it's very easy to trigger these. I chose to output at most 4 path components -- this should keep the full path for common cases like /usr/bin/gcc with room to spare, and should be enough to uniquely identify the compiler for more deeply nested cases. llvm-svn: 296870
* testsuite/android: build test executables with the android ndk directlyPavel Labath2017-03-032-7/+53
| | | | | | | | | | | | | | | | | | | | | | | | Summary: This teaches the test makefiles about the Android NDK, so we are able to run the tests without first going through the make_standalone_toolchain script. The motivation for this is the ability to run both libc++ and libstdc++ tests together, which previously was not possible because make_standalone_toolchain bakes in the STL to use during toolchain creation time. The support for this is not present yet -- this change only make sure we don't regress for existing funcionality (gcc w/ libstdc++). Clang and libc++ support will be added later. I've checked that the mips android targets compile after this change, but I have no way of checking whether this breaks anything. If you are reading this and it broke you, let me know. Reviewers: tberghammer, danalbert Subscribers: srhines, lldb-commits Differential Revision: https://reviews.llvm.org/D30410 llvm-svn: 296869
* Made GetClangTargetCPU() const.Pavel Labath2017-03-032-2/+2
| | | | | | | | | | | | | | | | | | Summary: It does not change members or call non-const members. HostInfo::GetArchitecture() returns a const object ref (maybe others?), which can't access the non-const function. Reviewers: labath, eugene Reviewed By: labath, eugene Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D30515 Author: Jason Majors <jmajors@google.com> llvm-svn: 296868
* Remove some dead code in FileSpec.Zachary Turner2017-03-0312-38/+14
| | | | | | | | This in turn triggered some fallout where other files had been transitively picking up includes that they needed from FileSpec.h, so I've fixed those up as well. llvm-svn: 296855
* Python commands as first class citizens.Jim Ingham2017-03-021-1/+19
| | | | | | | This should be a necessary precursor to adding support for any future extension languages. llvm-svn: 296834
* Mention fetching thread lists lazily.Jim Ingham2017-03-021-0/+18
| | | | llvm-svn: 296833
* Forgot about local variable lookup. Jim Ingham2017-03-021-0/+18
| | | | | | Yay for coffee lines. llvm-svn: 296826
* Add a reference to the projects in the Get involved section.Jim Ingham2017-03-021-0/+2
| | | | llvm-svn: 296819
* Goals->Projects.Jim Ingham2017-03-021-1/+1
| | | | llvm-svn: 296816
* Added a list of outstanding projects that would benefit lldb.Jim Ingham2017-03-022-0/+380
| | | | | | | | | | | | | This was a list that I've had kicking around for a while, and would add to whenever some hallway conversation would bring up another good idea. It's not doing any good on my desktop, but it might generate some inspiration here. Please add to this if you have any other good ideas. I apologize for the formatting, but if I wait to get it looking nice it would probably stay on my desktop. llvm-svn: 296814
* Fix flakyness in TestGdbRemoteHostInfoPavel Labath2017-03-022-10/+0
| | | | | | | | | this test was using the VPATH hack to avoid having a copy of the inferior source code. This makes the test fail if in happens to run concurrently with a test in the parent folder. Fix that by moving it up to the parent. llvm-svn: 296741
* Fix MSVC buildPavel Labath2017-03-021-1/+1
| | | | | | | | MSVC (at least the version I am using) does not want to implicitly capture a const bool variable. Move it into the lambda, as it is not used outside anyway. llvm-svn: 296738
* x86AssemblyInspectionEngine::AugmentUnwindPlanFromCallSite could accessJason Molenda2017-03-021-4/+5
| | | | | | | the byte past the end of the buffer it had been given. ASAN catch. <rdar://problem/30774863> llvm-svn: 296733
* Fix various warnings. NFCZachary Turner2017-03-0212-379/+22
| | | | llvm-svn: 296717
* Make it clear what you should modify when you copy any of these sampleJim Ingham2017-03-012-5/+12
| | | | | | test cases. llvm-svn: 296693
* Add a test to ensure that SBFrame::Disassemble produces some output.Jim Ingham2017-03-012-1/+69
| | | | llvm-svn: 296692
* Add a sample_test directory with simple starterJim Ingham2017-03-015-0/+103
| | | | | | test cases for standard and "inline" tests. llvm-svn: 296669
* Mark TestYMMRegister as no_debug_info_testPavel Labath2017-03-011-0/+1
| | | | | | | We don't need to run this test multiple times to check whether we can read a register. llvm-svn: 296611
* Fix gcc compilation of LogTest.cppPavel Labath2017-03-011-1/+1
| | | | llvm-svn: 296595
* Switch SBBreakpointLocation to use a weak_ptrPavel Labath2017-03-013-96/+111
| | | | llvm-svn: 296594
* test: pass correct objcopy and ar paths to the test runnerPavel Labath2017-03-011-5/+5
| | | | | | | | | | | | | | | | | | | | Summary: The test runner has code to autodetect this, but it's not very smart -- in particular, it fails in the case where we build the test executables with the just-built clang. Since cmake already has the knowledge about the right toolchain, we can just have it pass the appropriate flags to the test runner. This also removes the "temporary" cache-scrubbing hack added a couple months ago. Reviewers: zturner, beanz Subscribers: mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D30453 llvm-svn: 296593
* Modernize Enable/DisableLogChannel interface a bitPavel Labath2017-03-0110-45/+75
| | | | | | | | | | | | | | Summary: Use StringRef and ArrayRef where possible. This adds an accessor to the Args class to get a view of the arguments as ArrayRef<const char *>. Reviewers: zturner Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D30402 llvm-svn: 296592
* Greg Clayton is no longer working at Apple, he will continue toJason Molenda2017-03-011-2/+1
| | | | | | review patches etc from his clayborg email address. llvm-svn: 296548
* Add additional areas I'm responsible for in the lldb codebase.Jason Molenda2017-02-281-1/+2
| | | | llvm-svn: 296531
* clang-format the Mangled changes.Zachary Turner2017-02-281-12/+14
| | | | llvm-svn: 296517
* Wrap the call to UndecorateSymbolName in a mutex.Zachary Turner2017-02-281-11/+19
| | | | | | | MSDN documents that this function is not thread-safe, so we wrap it in a global mutex. llvm-svn: 296516
* Fix a bug in r294611 w.r.t. Darwin Kernel debugging.Jim Ingham2017-02-284-0/+19
| | | | | | <rdar://problem/30735021> llvm-svn: 296504
* Fix incorrect logic in StackFrame::Disassemble.Zachary Turner2017-02-281-11/+13
| | | | | | This had broken as the result of some previous cleanup. llvm-svn: 296495
* Switch SBWatchpoint to use a weak_ptr to the underlying objectPavel Labath2017-02-283-15/+14
| | | | llvm-svn: 296470
* Add a comment to describe purpose of signal-filtering testEugene Zemtsov2017-02-281-0/+2
| | | | llvm-svn: 296427
* Ah, this was an early exit to leave built products around, it wasn't meant toJason Molenda2017-02-271-1/+0
| | | | | | be checked in. llvm-svn: 296412
* update pbxproj to match cmake config, broken in r296335Tim Hammerquist2017-02-271-22/+16
| | | | llvm-svn: 296406
* Support NetBSD Thread ID in lldb-server testsKamil Rytarowski2017-02-272-0/+10
| | | | | | | | | | | | | | | | | | | | | Summary: Native Thread ID is retrieved with _lwp_self() on NetBSD. The returned value is of type int32_t, but for consistency with other Operating Systems cast it to uint64_t. Sponsored by <The NetBSD Foundation> Reviewers: joerg, labath, clayborg, emaste Reviewed By: labath, clayborg Subscribers: #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D30374 llvm-svn: 296360
* Merge Linux and FreeBSD arm register contextsPavel Labath2017-02-278-195/+32
| | | | | | | | | | | | | | Summary: These two register contexts were identical, so this shouldn't cause any regressions, but I'd appreciate it if you can check that this at least compiles. Reviewers: emaste, sas Subscribers: aemerson, rengolin, lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D27126 llvm-svn: 296335
* Fix MinidumpParserTest on 32-bit archesPavel Labath2017-02-271-2/+3
| | | | | | | | load_size should be 64-bit unconditionally to match the underlying API. This makes sure the MAX value correctly signals to auto-detect the file size when mmap()ing. llvm-svn: 296334
* Remove the callback-based log channel registration mechanismPavel Labath2017-02-273-88/+2
| | | | | | | All the existing channels have beens switched to the new mechanism and this code is now unused. llvm-svn: 296333
* Log: Fix a regression in handling log optionsPavel Labath2017-02-273-3/+19
| | | | | | | | The channel refactor introduced a regression where we were not honoring the log options passed when enabling the channel. Fix that and add a test. llvm-svn: 296329
OpenPOWER on IntegriCloud