- Sep 17, 2013
-
-
Sean Callanan authored
constants before using them in the IR interpreter. Patch by Félix Cloutier. llvm-svn: 190877
-
Ed Maste authored
llvm-svn: 190875
-
Ed Maste authored
We cannot use "GetMaxU64Bitfield" for non-power-of-two sizes, so just use the same code that handles N > 8 for these. Review: http://llvm-reviews.chandlerc.com/D1699 llvm-svn: 190873
-
Andrew Kaylor authored
llvm-svn: 190872
-
Daniel Malea authored
- searches frames beginning from the current frame, stops when an equivalent context is found - not using GetStackFrameCount() for performance reasons - fixes TestInlineStepping (clang/gcc buildbots) llvm-svn: 190868
-
Andrew Kaylor authored
llvm-svn: 190831
-
Greg Clayton authored
llvm-svn: 190823
-
Daniel Malea authored
- ProcessMonitor::[Do|Serve]Operation no longer depend on file descriptors! - removed unused member functions CloseFD and EnableIPC - add semaphores to signal when an Operation is ready to be processed/complete. This commit fixes a bug that was identified under stress-testing (i.e. build LLVM while running tests) that led to LLDB becoming unresponsive because the read/write operations on file descriptors in ProcessMonitor were not checked. Other test runner improvement/convenience: - pickup environment variables LLDB_LINUX_LOG and LLDB_LINUX_LOG_OPTIONS to enable (Linux) logging when running the test suite. Example usage: $ LLDB_LINUX_LOG="mylog.txt" LLDB_LINUX_LOG_OPTIONS="process thread" python dotest.py llvm-svn: 190820
-
Ashok Thirumurthi authored
for the frame is one past the address range of the calling function. - Lowers the fix from RegisterContextLLDB for use with disassembly - Fixes one of three issues in the disassembly test in TestInferiorAssert.py Also adds documentation that explains the resolution depths and interface. Note: This change affects the resolution scope for eSymbolContextFunction without impacting the performance of eSymbolContextSymbol. Thanks to Matt Kopec for his review. llvm-svn: 190812
-
- Sep 16, 2013
-
-
rdar://problem/15001220Greg Clayton authored
Fixed an issue with the lldb/test/lang/cpp/virtual test case had a virtual class that had a DW_TAG_inheritance child that was virtual and had a DW_AT_data_member_location of: DW_AT_data_member_location( DW_OP_dup, DW_OP_deref, DW_OP_constu(0x00000018), DW_OP_minus, DW_OP_deref, DW_OP_plus ) We failed to evaluate this and then we were passing the incorrect offset back to clang and clang would crash. The AST external source has a function named LayoutRecordType which allows us to supply the virtual base class offsets, but that really doesn't make sense to do as clang will lay them out correctly. So we must ignore virtual base classes when doing layout. llvm-svn: 190811
-
- Sep 14, 2013
-
-
Michael Sartain authored
Will clean up header files and m_register_infos shortly. llvm-svn: 190757
-
Jason Molenda authored
llvm-svn: 190742
-
Jason Molenda authored
and a mach kernel in all the pages of the core file. If it finds a user-process dyld binary, assume this is a user process that had a copy of the mach kernel in memory when it crashed (e.g. lldb doing kernel debugging) even though we found the kernel binary first. Also, change the error messages about sections extending past the end of the file to be warnings and make the messages sound less severe. Most user process core files have one section that isn't included in the file and there's no reason to worry people about that. <rdar://problem/14473235> llvm-svn: 190741
-
Andrew Kaylor authored
llvm-svn: 190733
-
Matt Kopec authored
1. existing breakpoints weren't being re-resolved after the sections of a library were loaded (ie. through dlopen). 2. loaded sections weren't being removed after a shared library had been unloaded. llvm-svn: 190727
-
- Sep 13, 2013
-
-
Jason Molenda authored
single-quote and double-quotemarks from around file paths specified to settings like target.expr-prefix or target.process.python-os-plugin-path. <rdar://problem/14970457> llvm-svn: 190654
-
Michael Sartain authored
llvm-svn: 190647
-
Richard Mitton authored
This would prevent system calls on Linux from being able to backtrace correctly. llvm-svn: 190642
-
Jason Molenda authored
with prefer_file_cache == false. This is what we want to do when the user is doing a disassemble command -- show the actual memory contents in case the memory has been corrupted or something -- but when we're profiling functions for stepping or unwinding (ThreadPlanStepRange::GetInstructionsForAddress, UnwindAssemblyInstEmulation::GetNonCallSiteUnwindP) we can read __TEXT instructions directly out of the file, if it exists. <rdar://problem/14397491> llvm-svn: 190638
-
- Sep 12, 2013
-
-
Andrew Kaylor authored
Fixing a problem where CommandObjectThreadContinue held the thread list lock while waiting for the process to stop after a continue. llvm-svn: 190626
-
rdar://problem/14944683Greg Clayton authored
LLDB now handles explicit alignment for inherited classes. llvm-svn: 190616
-
Richard Mitton authored
llvm-svn: 190573
-
Richard Mitton authored
This allows the PC to be directly changed to a different line. It's similar to the example python script in examples/python/jump.py, except implemented as a builtin. Also this version will track the current function correctly even if the target line resolves to multiple addresses. (e.g. debugging a templated function) llvm-svn: 190572
-
Jason Molenda authored
communication, connection, host, module, mmap, os. Add those. Also sort the entries so they come in alphabetical order, to make it a little easier to scan down the list for a specific channel. llvm-svn: 190570
-
rdar://problem/14071463Enrico Granata authored
SVN r189964 provided a sample Python script to inspect unordered(multi){set|map} with synthetic children, contribued by Jared Grubb This checkin converts that sample script to a C++ provider built into LLDB A test case is also provided llvm-svn: 190564
-
- Sep 11, 2013
-
-
Jason Molenda authored
requested, use the Target's architecture to pick the correct slice of a universal file. <rdar://problem/14813869> llvm-svn: 190550
-
Jason Molenda authored
llvm-svn: 190548
-
Jim Ingham authored
setting of the environment variable COMMAND_MODE. Changed the Platform::GetResumeCountForShell to Platform::GetResumeCountForLaunchInfo, and check both the shell and in the case of /bin/sh the environment as well. llvm-svn: 190538
-
- Sep 10, 2013
-
-
rdar://problem/14071463Enrico Granata authored
The wrong method was being called in some instances here, causing class lookups to fail llvm-svn: 190436
-
Jim Ingham authored
that /bin/sh re-exec's itself to /bin/bash, so it needs one more resume when you are using it as the shell than /bin/bash did or you will stop at the start of your program, rather than running it. So I added a Platform API to get the number of resumes needed when launching with a particular shell, and set the right values for Mac OS X. <rdar://problem/14935282> llvm-svn: 190381
-
Jim Ingham authored
Change the "breakpoint fuzz" algorithm from "coalesce the line ranges for a file & line breakpoint if they are contiguous" to "coalesce the line ranges for a file & line breakpoint to the first range in each block". We were still setting a silly number of independent breakpoints sometimes, and until we get a compiler that emits trustworthy is_stmt flags in the line table, we need to do something to reduce the noise. <rdar://problem/14920404> llvm-svn: 190380
-
Richard Mitton authored
Fixed parsing of the .debug_aranges section so that LLDB will still work correctly even if arange data is not available for every object file in the program. llvm-svn: 190365
-
rdar://problem/14728845Enrico Granata authored
Making the --timeout (-t) option to "platform shell" work for real llvm-svn: 190361
-
- Sep 09, 2013
-
-
Ed Maste authored
The workaround was introduced in SVN r181613, for http://llvm.org/pr15854 llvm-svn: 190319
-
- Sep 07, 2013
-
-
Virgile Bello authored
Added some MSVC required functions in Windows.cpp. Moved MSVC specific getopt code inside its own folder. llvm-svn: 190238
-
- Sep 06, 2013
-
-
Ed Maste authored
From Jim's post on the lldb-dev mailing list: This code is there as a backstop for when the unwinder drops a frame at the beginning of new function/trampoline or whatever. In the (older_ctx_is_equivalent == false) case we will see if we are at a trampoline function that somebody knows how to get out of, and otherwise we will stop. llvm-svn: 190149
-
- Sep 05, 2013
-
-
Ed Maste authored
I accidentally dropped this in r189879 in the change from /bin/bash to /bin/sh. llvm-svn: 190103
-
Jim Ingham authored
llvm-svn: 190085
-
Jim Ingham authored
llvm-svn: 190084
-
Virgile Bello authored
OptionValueProperties::DeepCopy (): return empty value to avoid compilation error on MSVC (even if assert). llvm-svn: 190069
-