summaryrefslogtreecommitdiffstats
path: root/lldb
Commit message (Collapse)AuthorAgeFilesLines
...
* Make Options::SetOptionValue take a StringRef.Zachary Turner2016-11-1231-437/+323
| | | | llvm-svn: 286723
* Disable sanitizer tests on Windows.Zachary Turner2016-11-121-0/+4
| | | | llvm-svn: 286722
* Remove weak-linked symbols for SBBreakpointListImplTodd Fiala2016-11-113-8/+8
| | | | | | | | | | | | | | | | | | | Summary: Similar to SBStructuredData's Impl class, SBBreakpointListImpl was getting weak-link exported in the lldb namespace. This change list fixes that by moving out of the lldb public namespace, which removes it from public export visibility. Fixes: rdar://28960344 Reviewers: jingham Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D26553 llvm-svn: 286631
* Fix TestHelp on linux after version number syntax changeTamas Berghammer2016-11-111-1/+1
| | | | llvm-svn: 286581
* Mark xfail TestNamespaceDefinitions for arm/aarch64 targetsOmair Javaid2016-11-111-0/+3
| | | | | | | | Fails with all versions of arm/aarch64 gcc available on ubuntu 16.04/14.04. Passes with Linaro GCC version >= 4.8 but fails with >= 5.0. But There are other regressions when we use Linaro GCC. llvm-svn: 286574
* Revert unwanted changes in lldb when updating llvm::Error()Mehdi Amini2016-11-1112-60/+60
| | | | | | | | My script updated lldb::Errors, and I failed to fix it entirely before pushing. This restore everything in lldb as it was before r286561. llvm-svn: 286565
* Prevent at compile time converting from Error::success() to Expected<T>Mehdi Amini2016-11-1141-99/+97
| | | | | | | | This would trigger an assertion at runtime otherwise. Differential Revision: https://reviews.llvm.org/D26482 llvm-svn: 286562
* Make the Error class constructor protectedMehdi Amini2016-11-1153-157/+159
| | | | | | | | | This is forcing to use Error::success(), which is in a wide majority of cases a lot more readable. Differential Revision: https://reviews.llvm.org/D26481 llvm-svn: 286561
* [CMake] Fixing CMake to append source properties instead of overwrite them.Chris Bieneman2016-11-101-6/+6
| | | | | | This is a small fix to the version output. llvm-svn: 286528
* One more try to fix the Xcode projectChris Bieneman2016-11-101-8/+8
| | | | | | This time I made sure it actually opened. llvm-svn: 286505
* Fixing the Xcode build that I broke in r286479Chris Bieneman2016-11-104-11/+14
| | | | | | Since Xcode can't seem to handle quotes in preprocessor definitions, I've changed the build to assume that the define is unquoted. This should fix the failing Darwin bots. llvm-svn: 286504
* [Test-Suite] Fix all the sanitizer tests to be based on compiler capabilitiesChris Bieneman2016-11-109-33/+18
| | | | | | | | | | | | Summary: This patch reworks all the @skip... lines for sanitizer libraries to be based on whether or not the compiler actually works, rather than whether or not the compiler-rt sources are present in some magically derived directory. Reviewers: lldb-commits Subscribers: kubabrecka, tfiala Differential Revision: https://reviews.llvm.org/D26513 llvm-svn: 286490
* Unify Darwin and Non-Darwin printing of version outputChris Bieneman2016-11-104-54/+107
| | | | | | | | | | | | | | | | | | | | | | | | Summary: This change unifies and simplifies the code paths between the Darwin and non-Darwin code to print the LLDB version information. It also introduces a new variable in CMake LLDB_VERSION_STRING which can be used to specify custom version information. On Darwin this value is implicitly set based on the resource/LLDB-Info.plist file. With the LLDB_VERSION_STRING variable set to lldb-360.99.0, the -version output is: > ./bin/lldb -version lldb version 4.0.0 (lldb-360.99.0) clang revision 286264 llvm revision 286265 This behavior is unified across all target platforms. Reviewers: lldb-commits Subscribers: mgorny, tfiala Differential Revision: https://reviews.llvm.org/D26478 llvm-svn: 286479
* Un-XFail test on Windows. Has been in "unexpected success" mode for a while.Adrian McCarthy2016-11-101-2/+0
| | | | llvm-svn: 286476
* Fix weak symbol linkage in SBStructuredData, update docs.Todd Fiala2016-11-093-32/+33
| | | | | | | | | | | | | | | | | Summary: This change fixes an issue where I was leaking a weakly-linked symbol in the SBAPI. It also updates the docs to call out what I did wrong. Fixes: rdar://28882483 Reviewers: jingham Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D26470 llvm-svn: 286413
* [RenderScript] Fix reduction argument printingLuke Drummond2016-11-091-0/+4
| | | | | | | | | | | | | | | | When placing function name breakpoints on RenderScript Reduction kernel functions, we were not skipping over the function prologue meaning that inspection of the arguments could be garbled as the function was not finished setting up the stack/registers. In [122fe8f](https://github.com/llvm-mirror/lldb/commit/122fe8f47255ec850155495d10526fccc51f95fb) Aidan added the `SkipPrologue` function that allows us to trivially fix up the kernel's functions' resolved addresses, falling gracefully back to the old behaviour if we don't know how to handle the prologue or can't resolve its size. llvm-svn: 286387
* Remove TimeValue usage from lldb/TargetPavel Labath2016-11-091-3/+0
| | | | | | It was only used for declaring unused variables. :) llvm-svn: 286374
* Remove TimeValue usage from ObjectContainerBSDArchivePavel Labath2016-11-092-23/+27
| | | | llvm-svn: 286373
* Remove unused TimeValue includePavel Labath2016-11-091-1/+0
| | | | llvm-svn: 286372
* Remove TimeValue usage from lldb/HostPavel Labath2016-11-092-5/+1
| | | | llvm-svn: 286371
* Remove TimeValue usage from lldb/InterpreterPavel Labath2016-11-093-6/+6
| | | | llvm-svn: 286369
* Remove TimeValue usage from lldb/Core. NFC.Pavel Labath2016-11-095-45/+41
| | | | llvm-svn: 286366
* Fix expectation in TestStaticVariables.py after rL286302Tamas Berghammer2016-11-091-1/+1
| | | | | | | | The debug info emitted by clang for static variables improved by rL286302 and it exposed an incorrect test expactation because now LLDB able to displays more data 9thanks to better debug info) then before. llvm-svn: 286360
* Display the pointer value in the libstdc++ unique_ptr summaryPavel Labath2016-11-092-20/+11
| | | | | | | | | | | | | | | | | | | Summary: r284830 added a summary provider for unique_ptr in libstdc++, whose value printed the value of the pointee. This is a bit unintuitive as it becomes unobvious that the value actually is a pointer, and we lose the way to actually obtain the pointer value. Change that to print the pointer value instead. The pointee value can still be obtained through the synthetic children. Reviewers: tberghammer, granata.enrico Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D26403 llvm-svn: 286355
* Disable windows-only minidump pluginPavel Labath2016-11-094-28/+5
| | | | | | | | | | | | | | | | | Summary: This commit disables the windows-only minidump plugin and enables the new cross-platform plugin for windows minidump files. Test decorators are adjusted to reflect that: windows minidump tests can now run on all platforms. The exception is the tests that create minidump files, as that functionality is not available yet. I've checked that this works on windows and linux. Reviewers: amccarth, zturner Subscribers: dvlahovski, lldb-commits Differential Revision: https://reviews.llvm.org/D26393 llvm-svn: 286352
* Remove TimeValue usage from Core/ModulePavel Labath2016-11-097-70/+72
| | | | | | | | | | | | | | | | Summary: The only interesting part here is that TimePoint and TimeValue have different natural string representations, which affects "target modules list" output. It is now "2016-07-09 04:02:21.000000000", whereas previously in was "Sat Jul 9 04:02:21 2016". I wanted to check if we're OK with that. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D26275 llvm-svn: 286349
* When deciding whether to use the source remapping dictionary from Jason Molenda2016-11-092-9/+25
| | | | | | | | | | a dSYM per-uuid plist, only use it when the DBGVersion key has a value of 2 or greater. <rdar://problem/28889578> <rdar://problem/29131339> llvm-svn: 286335
* "thread backtrace" should use the thread-stop-format.Jim Ingham2016-11-081-2/+2
| | | | | | <rdar://problem/28273697> llvm-svn: 286312
* Fix some cases where we were printf'ing StringRefs.Zachary Turner2016-11-081-3/+3
| | | | llvm-svn: 286303
* Fix up the formats.html for the addition of the thread-stop-format.Jim Ingham2016-11-081-9/+23
| | | | | | <rdar://problem/28273697> llvm-svn: 286301
* Clean up the stop printing header lines.Jim Ingham2016-11-0818-36/+126
| | | | | | | | | | | | | | | | I added a "thread-stop-format" to distinguish between the form that is just the thread info (since the stop printing immediately prints the frame info) and one with more frame 0 info - which is useful for "thread list" and the like. I also added a frame.no-debug boolean to the format entities so you can print frame information differently between frames with source info and those without. This closes https://reviews.llvm.org/D26383. <rdar://problem/28273697> llvm-svn: 286288
* [Test Suite] Properly quote python stringChris Bieneman2016-11-081-1/+1
| | | | | | Oops! llvm-svn: 286258
* [Test Suite] Attempt to fix issue zturner reported to meChris Bieneman2016-11-081-1/+1
| | | | | | Not sure why this didn't explode more massively, but this should fix the issue with the non-framework tests. llvm-svn: 286254
* [lldb] Don't build unit tests for unsupported targetsVedant Kumar2016-11-082-2/+7
| | | | | | Differential Revision: https://reviews.llvm.org/D26338 llvm-svn: 286215
* Convert some Expression parser functions to StringRef.Zachary Turner2016-11-0823-177/+176
| | | | llvm-svn: 286208
* Rewrite OutputFormattedHelpText in terms of StringRef.Zachary Turner2016-11-084-74/+67
| | | | | | | | | | This makes the logic easier to follow and also propagates StringRef up to the API boundary, which is necessary for making higher up StringRef API changes. Differential Revision: https://reviews.llvm.org/D26325 llvm-svn: 286204
* Simplify the PrintableRepresentationSpecialCases code; we never used the ↵Enrico Granata2016-11-077-16/+15
| | | | | | ePrintableRepresentationSpecialCasesOnly value and with enum classes the names doesn't need to be that long llvm-svn: 286176
* UserExpression::Evaluate only returns a non-empty ValueObjectSPJim Ingham2016-11-072-2/+7
| | | | | | | | | | | | if it returns eExpressionCompleted. Don't try to get the error from the ValueObjectSP if that's not true. I just have a report of this from the field, I don't know how to make it fail yet. <rdar://problem/29113004> llvm-svn: 286170
* Fix an issue where LLDB would hang trying to launch tvOS simulator binariesEnrico Granata2016-11-072-2/+3
| | | | llvm-svn: 286116
* Make space for FreeBSD core file testsPavel Labath2016-11-0712-10/+10
| | | | | | | | | This renames the functionalities/postmortem/linux-core to elf-core and puts the "linux" part into the individual names of the core files. Since the tests for linux and freebsd core files are going to be very similar, having them close together means they can reuse most of the plumbing. llvm-svn: 286101
* [lldb] Fix -Waggressive-loop-optimizations warningVedant Kumar2016-11-071-1/+5
| | | | | | | | | We shouldn't access past the end of an array, even if we think that the layout of the struct containing the array is always what we expect. The compiler is free to optimize away the stores as undefined behavior, and in fact, GCC 6.2.1 claims it will do exactly this. llvm-svn: 286093
* Convert some helper functions to use StringRef.Zachary Turner2016-11-071-16/+11
| | | | | | | | | | | | | | I will probably submit a lot of small trivial changes like this over the coming weeks. The end goal is to convert Options::SetOptionValue to take the option arg as a StringRef, but doing so in one pass would be a huge mess of disparate changes just to satisfy the compiler, and with a high risk of breaking. So I'm going to do this in small pieces, changing seemingly random things here and there until the final change to the signature of Options::SetOptionValue() can be done trivially. llvm-svn: 286088
* make-core.sh: add FreeBSD supportEd Maste2016-11-051-9/+30
| | | | | | Differential Revision: https://reviews.llvm.org/D26315 llvm-svn: 286035
* Preliminary plumbing work to make 'parray' able to take offset and stride ↵Enrico Granata2016-11-043-13/+47
| | | | | | options llvm-svn: 286003
* Fix GDBRemoteCommunicationClientTest.TestPacketSpeedJSONPavel Labath2016-11-044-28/+28
| | | | | | | | | | | | | | The mock server was listening for only one packet (I forgot to put a loop around it), which caused the client to stall in debug builds, as the timeout there is 1000 seconds. In case of a release builds the test would just silently succeed as the tested function does not check or report errors (which should be fixed). This fixes the test by adding the server loop. Since the test was taking quite a long time now (8s), I have added a parameter to control the amount of data sent (default 4MB), and call it with a smaller value in the test, to make the test run faster. llvm-svn: 285992
* Added a couple more odd dot patterns that we got outJim Ingham2016-11-041-0/+2
| | | | | | of clang. llvm-svn: 285977
* Don't access the process in expressions w/o checking thatJim Ingham2016-11-032-3/+30
| | | | | | | | | | the process exists. I also added some tests that crash before this fix, and work correctly after. <rdar://problem/29083321> llvm-svn: 285974
* Add RenderScriptScriptGroup to the Xcode projectEnrico Granata2016-11-031-0/+6
| | | | llvm-svn: 285943
* Add support to the ObjC type scavenger for finding types via debug infoEnrico Granata2016-11-034-14/+69
| | | | llvm-svn: 285941
* [Renderscript] Add commands for scriptgroup interaction.Aidan Dodds2016-11-035-4/+610
| | | | | | | | | This commit hooks the nofity function that signals script group compilation. By tracking scriptgroups compiled at runtine, users are able to place breakpoints by script group name. Breakpoints will be placed on the kernels forming the group. llvm-svn: 285902
OpenPOWER on IntegriCloud