| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
clang's -Wuninitialized-experimental warning.
While these don't look like real bugs, clang's
-Wuninitialized-experimental analysis is stricter
than GCC's, and these fixes have the benefit
of being general nice cleanups.
llvm-svn: 124073
|
| |
|
|
|
|
|
|
|
|
| |
clang's -Wuninitialized-experimental warning.
While these don't look like real bugs, clang's
-Wuninitialized-experimental analysis is stricter
than GCC's, and these fixes have the benefit
of being general nice cleanups.
llvm-svn: 124072
|
| |
|
|
| |
llvm-svn: 124071
|
| |
|
|
|
|
|
|
|
|
|
|
| |
that have PHI or select uses of their element pointers. This can often happen
when instcombine sinks two loads into a successor, inserting a phi or select.
With this patch, we can scalarize the alloca, but the pinned elements are not
yet promoted. This is still a win for large aggregates where only one element
is used. This fixes rdar://8904039 and part of rdar://7339113 (poor codegen
on stringswitch).
llvm-svn: 124070
|
| |
|
|
|
|
|
|
| |
provision for specifying a working directory with the name LaunchWithCWD in our
target language (Python) for now. This fixes the test suite failures due to the
overloading.
llvm-svn: 124069
|
| |
|
|
|
|
| |
on test-suite + SPEC2000 & SPEC2006.
llvm-svn: 124068
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 124067
|
| |
|
|
|
|
|
|
| |
handle the "Transformation preventing inst" printing,
so that -scalarrepl -debug will always print the rejected
instruction. No functionality change.
llvm-svn: 124066
|
| |
|
|
| |
llvm-svn: 124065
|
| |
|
|
|
|
| |
X86 backend has been fixed.
llvm-svn: 124064
|
| |
|
|
|
|
|
|
|
|
| |
failures
due to overloaded SBTarget::Launch() calls.
Bumping Xcode project versions: lldb-42 and debugserver-127.
llvm-svn: 124063
|
| |
|
|
| |
llvm-svn: 124062
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
computation, the Ancestor field is always set to the Parent, so we can remove
the explicit link entirely and merge the Parent and Ancestor fields. Instead of
checking for whether an ancestor exists for a node or not, we simply check
whether the node has already been processed. This is simpler if Compress is
inlined into Eval, so I did that as well.
This is about a 3% speedup running -domtree on test-suite + SPEC2000 & SPEC2006,
but it also opens up some opportunities for further improvement.
llvm-svn: 124061
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
takes separate file handles for stdin, stdout, and stder and also allows for
the working directory to be specified.
Added support to "process launch" to a new option: --working-dir=PATH. We
can now set the working directory. If this is not set, it defaults to that
of the process that has LLDB loaded. Added the working directory to the
host LaunchInNewTerminal function to allows the current working directory
to be set in processes that are spawned in their own terminal. Also hooked this
up to the lldb_private::Process and all mac plug-ins. The linux plug-in had its
API changed, but nothing is making use of it yet. Modfied "debugserver" and
"darwin-debug" to also handle the current working directory options and modified
the code in LLDB that spawns these tools to pass the info along.
Fixed ProcessGDBRemote to properly pass along all file handles for stdin, stdout
and stderr.
After clearing the default values for the stdin/out/err file handles for
process to be NULL, we had a crasher in UserSettingsController::UpdateStringVariable
which is now fixed. Also fixed the setting of boolean values to be able to
be set as "true", "yes", "on", "1" for true (case insensitive) and "false", "no",
"off", or "0" for false.
Fixed debugserver to properly handle files for STDIN, STDOUT and STDERR that are not
already opened. Previous to this fix debugserver would only correctly open and dupe
file handles for the slave side of a pseudo terminal. It now correctly handles
getting STDIN for the inferior from a file, and spitting STDOUT and STDERR out to
files. Also made sure the file handles were correctly opened with the NOCTTY flag
for terminals.
llvm-svn: 124060
|
| |
|
|
|
|
| |
Add support for SHT_X86_64_UNWIND.
llvm-svn: 124059
|
| |
|
|
| |
llvm-svn: 124058
|
| |
|
|
| |
llvm-svn: 124057
|
| |
|
|
| |
llvm-svn: 124056
|
| |
|
|
| |
llvm-svn: 124055
|
| |
|
|
| |
llvm-svn: 124054
|
| |
|
|
|
|
| |
of the link-eval data structure from dominator computation.
llvm-svn: 124053
|
| |
|
|
|
|
|
| |
constructing compile flags, and to link against the 'rt' library on
Linux for clock_gettime and friends.
llvm-svn: 124052
|
| |
|
|
| |
llvm-svn: 124051
|
| |
|
|
|
|
| |
nice to know about the issue, but we shouldn't crash.
llvm-svn: 124050
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
checking the validity of the shared pointer prior to using it.
Fixed the GDB remote plug-in to once again watch for a reply from the "k"
packet, and fixed the logic to make sure the thread requesting the kill
and the async thread play nice (and very quickly) by synchronizing the
packet sending and reply. I also tweaked some of the shut down packet
("k" kill, "D" detach, and the halt packet) to make sure they do the right
thing.
Fixed "StateType Process::WaitForProcessStopPrivate (...)" to correctly pass
the timeout along to WaitForStateChangedEventsPrivate() and made the function
behave correctly with respect to timing out.
Added separate STDIN, STDOUT, and STDERR support to debugserver. Also added
the start of being able to set the working directory for the inferior process.
llvm-svn: 124049
|
| |
|
|
|
|
| |
OK since the new syntax is unambiguous and can't be confused with C++98 syntax. If anyone disagrees, please shout!
llvm-svn: 124048
|
| |
|
|
| |
llvm-svn: 124047
|
| |
|
|
|
|
| |
"make check" alone.
llvm-svn: 124046
|
| |
|
|
|
|
| |
that we can change from indirect to direct.
llvm-svn: 124045
|
| |
|
|
|
|
|
|
| |
target function.
Fixes part of rdar://8546196
llvm-svn: 124044
|
| |
|
|
| |
llvm-svn: 124041
|
| |
|
|
| |
llvm-svn: 124040
|
| |
|
|
|
|
| |
used as a base.
llvm-svn: 124039
|
| |
|
|
|
|
| |
by making a local copy. We need to be able to have the private state thread let the lldb_private::Process class that it has exited, otherwise we end up with a timeout when the process destructor or DoDestroy is called where the private state thread has already exited and then StopPrivateStateThread() will wait for the thread which has already existed to respond to it.
llvm-svn: 124038
|
| |
|
|
| |
llvm-svn: 124037
|
| |
|
|
| |
llvm-svn: 124036
|
| |
|
|
| |
llvm-svn: 124035
|
| |
|
|
| |
llvm-svn: 124034
|
| |
|
|
| |
llvm-svn: 124033
|
| |
|
|
| |
llvm-svn: 124032
|
| |
|
|
| |
llvm-svn: 124031
|
| |
|
|
|
|
| |
backend. It makes the code generated more compliant with the sparc32 ABI.
llvm-svn: 124030
|
| |
|
|
| |
llvm-svn: 124029
|
| |
|
|
| |
llvm-svn: 124028
|
| |
|
|
|
|
| |
-mattr=v9 is used.
llvm-svn: 124027
|
| |
|
|
| |
llvm-svn: 124026
|
| |
|
|
| |
llvm-svn: 124025
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
threads that we spawn let us know when they are going away and that we
don't timeout waiting for a message from threads that have gone away.
We also now don't expect the "k" packet (kill) to send a response. This
greatly speeds up debugger shutdown performance. The test suite now runs
quite a bit faster.
Added a fix to the variable display code that fixes the display of
base classes. We were assuming the virtual or normal base class offsets
were being given in bit sizes, but they were being given as character
sizes, so we needed to multiply the offset by 8. This wasn't affecting
the expression parser, but it was affecting the correct display of C++
class base classes and all of their children.
llvm-svn: 124024
|
| |
|
|
| |
llvm-svn: 124023
|
| |
|
|
| |
llvm-svn: 124020
|