| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
to use it.
llvm-svn: 123501
|
| |
|
|
| |
llvm-svn: 123500
|
| |
|
|
| |
llvm-svn: 123499
|
| |
|
|
|
|
|
| |
The previous check on header type ET_EXEC is not general enough. Position
independent executables have type ET_DYN.
llvm-svn: 123498
|
| |
|
|
| |
llvm-svn: 123497
|
| |
|
|
|
|
| |
ObjectFileELF.
llvm-svn: 123496
|
| |
|
|
| |
llvm-svn: 123495
|
| |
|
|
| |
llvm-svn: 123494
|
| |
|
|
|
|
|
| |
number of expansions, when we know it, and propagate that information
through Sema.
llvm-svn: 123493
|
| |
|
|
|
|
| |
all in a thread safe fashion.
llvm-svn: 123492
|
| |
|
|
| |
llvm-svn: 123491
|
| |
|
|
|
|
|
|
| |
This is needed to allow an InstAlias for an instruction with an "OptionalDef"
result register (like ARM's cc_out) where you want to set the optional register
to reg0.
llvm-svn: 123490
|
| |
|
|
|
|
| |
contain multiple parameter packs at different levels.
llvm-svn: 123488
|
| |
|
|
| |
llvm-svn: 123487
|
| |
|
|
|
|
|
|
| |
declaration and its assignments.
Found by clang static analyzer.
llvm-svn: 123486
|
| |
|
|
|
|
| |
Found by clang static analyzer.
llvm-svn: 123485
|
| |
|
|
|
|
| |
Remove this variable (found by clang static analyzer).
llvm-svn: 123484
|
| |
|
|
|
|
| |
used; nuke all assignments and its declaration.
llvm-svn: 123483
|
| |
|
|
| |
llvm-svn: 123482
|
| |
|
|
|
|
|
|
|
|
| |
analyzer -cc1 options that are tailored to the
input type. If the input type is "C++", we should
only run the dead stores checker (for now). Similarly,
checks specific to Objective-C should only run
on Objective-C Code.
llvm-svn: 123481
|
| |
|
|
| |
llvm-svn: 123480
|
| |
|
|
|
|
| |
comments.
llvm-svn: 123479
|
| |
|
|
| |
llvm-svn: 123478
|
| |
|
|
|
|
| |
bitcasts, at least in simple cases. This fixes clang's CodeGenCXX/virtual-base-dtor.cpp
llvm-svn: 123477
|
| |
|
|
|
|
| |
description emission. Currently all the backends use table-based stuff.
llvm-svn: 123476
|
| |
|
|
| |
llvm-svn: 123475
|
| |
|
|
| |
llvm-svn: 123474
|
| |
|
|
| |
llvm-svn: 123473
|
| |
|
|
| |
llvm-svn: 123472
|
| |
|
|
| |
llvm-svn: 123471
|
| |
|
|
|
|
| |
it will expand to, if known. Propagate this information throughout Sema.
llvm-svn: 123470
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From http://blog.melski.net/tag/debugging-makefiles/.
Example:
[13:14:59] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CC
CC=gcc
origin = file
flavor = recursive
value = gcc
[13:15:09] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-LD
LD= g++
origin = file
flavor = recursive
value = $(call cxx_linker,$(CC))
[13:15:21] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CXX
CXX= g++
origin = file
flavor = recursive
value = $(call cxx_compiler,$(CC))
[13:15:29] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $
llvm-svn: 123469
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
disabled in this checkin. Sorry for the large diffs due to
refactoring. New functionality is all guarded by EnableSchedCycles.
Scheduling the isel DAG is inherently imprecise, but we give it a best
effort:
- Added MayReduceRegPressure to allow stalled nodes in the queue only
if there is a regpressure need.
- Added BUHasStall to allow checking for either dependence stalls due to
latency or resource stalls due to pipeline hazards.
- Added BUCompareLatency to encapsulate and standardize the heuristics
for minimizing stall cycles (vs. reducing register pressure).
- Modified the bottom-up heuristic (now in BUCompareLatency) to
prioritize nodes by their depth rather than height. As long as it
doesn't stall, height is irrelevant. Depth represents the critical
path to the DAG root.
- Added hybrid_ls_rr_sort::isReady to filter stalled nodes before
adding them to the available queue.
Related Cleanup: most of the register reduction routines do not need
to be templates.
llvm-svn: 123468
|
| |
|
|
|
|
|
|
|
|
|
|
| |
when handling one-liner commands that contain escaped characters. In
order to deal with the new namespace/dictionary stuff, the command was
being embedded within a second string, which messed up the escaping.
This fixes the problem by handling one-liners in a different manner, so they
no longer need to be embedded within another string, and can still be
processed in the proper namespace/dictionary context.
llvm-svn: 123467
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Debuggers on ELF platforms hook into the runtime linker by monitoring a special
"rendezvous" embedded in the address space of the inferior process. The exact
location of this structure is filled in by the runtime linker and can be
resolved by locating the DT_DEBUG entry in the processes .dynamic section. The
new GetImageInfoAddress() method (morally equivalent to
Process::GetImageInfoAddress) provides the mechanism to locate this information.
GetEntryPoint() simply returns the address of the start symbol in the executable
if present. It is useful to the dynamic loader plugin for ELF systems as this
is the earliest point where LLDB can break and probe the inferiors .dynamic
section and rendezvous structure. Also, this address can be used in the
computation of the virtual base address for position independent executables.
llvm-svn: 123466
|
| |
|
|
|
|
|
| |
Setting m_private_state_thread to an invalid value when the child thread exits
results in a race condition between calls to ThreadCancel and ThreadJoin.
llvm-svn: 123465
|
| |
|
|
| |
llvm-svn: 123464
|
| |
|
|
| |
llvm-svn: 123463
|
| |
|
|
|
|
|
|
| |
warning flags.
Addresses rdar://8435969&8852495
llvm-svn: 123462
|
| |
|
|
|
|
|
|
| |
substituting "g++"
for "gcc".
llvm-svn: 123461
|
| |
|
|
| |
llvm-svn: 123460
|
| |
|
|
| |
llvm-svn: 123459
|
| |
|
|
|
|
|
|
|
|
|
| |
the case where the called function has fewer
formal arguments than actual arguments. This
fixes a crash in the analyzer when doing
function call inlining.
Patch by Zhenbo Xu!
llvm-svn: 123458
|
| |
|
|
| |
llvm-svn: 123457
|
| |
|
|
|
|
|
| |
"promote a bunch of load and stores" logic, allowing the code to
be shared and reused.
llvm-svn: 123456
|
| |
|
|
| |
llvm-svn: 123455
|
| |
|
|
|
|
|
|
| |
expression (int)[nil_mutable_array count]
within NSArray_expr() function and expect a return of 0.
llvm-svn: 123454
|
| |
|
|
| |
llvm-svn: 123452
|
| |
|
|
|
|
|
|
|
|
|
|
| |
compiler if $(CC) contains "clang".
Instead, it should perform a textual replacement of $(CC) from "clang" to "clang++". The same is true
for "llvm-gcc" to "llvm-g++" and for "gcc" to "g++". This way, we keep the path component of the $(CC)
passed in from the user and do not end up with a mixed toolchains with different paths.
Ditto for a newly added function called cxx_linker.
llvm-svn: 123451
|
| |
|
|
|
|
|
|
| |
expansion in it, we may end up instantiating to an empty
expression-list. In this case, the variable is uninitialized; tweak
the instantiation logic to handle this case. Fixes PR8977.
llvm-svn: 123449
|