| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
v2: update CMakeLists.txt as well
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176626
|
| |
|
|
|
|
| |
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176625
|
| |
|
|
|
|
|
|
| |
v2: fix R600 regressions
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176624
|
| |
|
|
|
|
| |
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176623
|
| |
|
|
|
|
|
|
| |
Just encode the type as target specific attribute.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176622
|
| |
|
|
|
|
| |
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176621
|
| |
|
|
|
|
| |
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
llvm-svn: 176620
|
| |
|
|
| |
llvm-svn: 176619
|
| |
|
|
| |
llvm-svn: 176618
|
| |
|
|
|
|
|
|
|
| |
string to be emitted, and two properties about the files themselves.
Use $PWD to absolut-ify the path to the coverage file. Yes, this is what GCC
does. Reverts my own r175706.
llvm-svn: 176617
|
| |
|
|
|
|
|
|
|
| |
into the actual gcov file.
Instead of using the bottom 4 bytes as the function identifier, use a counter.
This makes the identifier numbers stable across multiple runs.
llvm-svn: 176616
|
| |
|
|
| |
llvm-svn: 176615
|
| |
|
|
|
|
|
|
|
| |
Just scalarize the element and rebuild a vector of the result type
from that.
rdar://13281568
llvm-svn: 176614
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"compile_units" returns an array of all compile units in a module as a list() of lldb.SBCompileUnit objects.
"compile_unit" returns a compile unit accessor object that allows indexed access, search by full or partial path, or by regex:
(lldb) script
comp_unit = lldb.target.module['TextEdit'].compile_unit['Document.m']
comp_unit = lldb.target.module['TextEdit'].compile_unit['/path/to/Document.m']
comp_unit = lldb.target.module['TextEdit'].compile_unit[0]
comp_unit = lldb.target.module['TextEdit'].compile_unit[1]
for comp_unit in lldb.target.module['TextEdit'].compile_unit[re.compile("\.m$")]
print comp_unit
This helps do quick searches and scripting while debugging.
llvm-svn: 176613
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Warn about null pointer dereference earlier when a reference to a null pointer is
passed in a call. The idea is that even though the standard might allow this, reporting
the issue earlier is better for diagnostics (the error is reported closer to the place where
the pointer was set to NULL). This also simplifies analyzer’s diagnostic logic, which has
to track “where the null came from”. As a consequence, some of our null pointer
warning suppression mechanisms started triggering more often.
TODO: Change the name of the file and class to reflect the new check.
llvm-svn: 176612
|
| |
|
|
|
|
| |
was not found in the target module list.
llvm-svn: 176611
|
| |
|
|
|
|
|
|
| |
any modules that are specified as arguments to the "dump_module_line_tables" command.
I used this to verify that the debug map line tables were the same as previous LLDB releases prior to my change in the DWARF in .o file linking.
llvm-svn: 176610
|
| |
|
|
| |
llvm-svn: 176609
|
| |
|
|
|
|
| |
is the one that should be used.
llvm-svn: 176608
|
| |
|
|
| |
llvm-svn: 176607
|
| |
|
|
|
|
|
|
| |
It is possible that some of the current uses of
"getStorageClassAsWritten() == SC_Extern" should use this but I don't know
enough about SC_PrivateExtern to change and test them.
llvm-svn: 176606
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now emit a line table for each compile unit. To reduce the prologue size
of each line table, the files and directories used by each compile unit are
stored in std::map<unsigned, std::vector< > > instead of std::vector< >.
The prologue for a lto'ed image can be as big as 93K. Duplicating 93K for each
compile unit causes a huge increase of debug info. With this patch, each
prologue will only emit the files required by the compile unit.
rdar://problem/13342023
llvm-svn: 176605
|
| |
|
|
| |
llvm-svn: 176604
|
| |
|
|
| |
llvm-svn: 176603
|
| |
|
|
| |
llvm-svn: 176602
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Officially in the C++ standard, a null reference cannot exist. However,
it's still very easy to create one:
int &getNullRef() {
int *p = 0;
return *p;
}
We already check that binds to reference regions don't create null references.
This patch checks that we don't create null references by returning, either.
<rdar://problem/13364378>
llvm-svn: 176601
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 176600
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes rdar:13349374.
Volatile loads and stores need to be preserved even if the language
standard says they are undefined. "volatile" in this context means "get
out of the way compiler, let my platform handle it".
Additionally, this is the only way I know of with llvm to write to the
first page (when hardware allows) without dropping to assembly.
llvm-svn: 176599
|
| |
|
|
|
|
|
|
|
|
|
| |
- Phi nodes should be replaced/updated after lowering CMOV into branch
because 'mainMBB' updating operand in Phi node is changed.
- Add EFLAGS in livein before lowering the 2nd CMOV. It's necessary as
we will reuse the EFLAGS generated before the 1st lowered CMOV, which
won't clobber EFLAGS. However, we need explicitly specify that.
- '-attr=-cmov' test case are added.
llvm-svn: 176598
|
| |
|
|
|
|
|
| |
- remove "-debug" flag from swig scripts
- use "echo -n" instead of "echo" in dummy target to avoid printing a useless newline
llvm-svn: 176597
|
| |
|
|
|
|
| |
- Avoid passing 'ccache' as the test compiler. Instead, use first arg after ccache.
llvm-svn: 176596
|
| |
|
|
|
|
|
| |
- missing definitions were causing different definitions of type 'off_t', resulting in linker errors
- fix is to define _LARGEFILE_SOURCE and _FILE_OFFSET_BITS=64
llvm-svn: 176595
|
| |
|
|
|
|
| |
Reap the child process (debugserver) when it is done.
llvm-svn: 176594
|
| |
|
|
|
|
| |
two flags: _LIBCPP_TYPE_VIS and _LIBCPP_FUNC_VIS. This is in preparation for taking advantage of clang's new __type_visibility__ attribute.
llvm-svn: 176593
|
| |
|
|
|
|
| |
LLDB was not parsing line tables correctly for DWARF in .o files after recent debug map changes. This has now been fixed.
llvm-svn: 176592
|
| |
|
|
|
|
| |
Noticed these while working on the last commit.
llvm-svn: 176590
|
| |
|
|
|
|
|
|
|
| |
of hardcoding the value.
Read the version number of the dyld shared cache.
<rdar://problem/13311882>
llvm-svn: 176589
|
| |
|
|
|
|
|
|
|
|
| |
that adds ivars to an interface.
Fixes rdar://13175234
This is an update to r176116 that performs a smart caching of interfaces.
llvm-svn: 176584
|
| |
|
|
| |
llvm-svn: 176583
|
| |
|
|
|
|
| |
The test was marked as expectedFailureLinux, but now it passes with gcc and some versions of clang. Newer versions of clang introduce a failure due to bad DWARF information.
llvm-svn: 176581
|
| |
|
|
|
|
| |
In N64-static, GOT address is needed to compute the branch address.
llvm-svn: 176580
|
| |
|
|
|
|
| |
values.
llvm-svn: 176579
|
| |
|
|
| |
llvm-svn: 176578
|
| |
|
|
|
|
|
|
| |
with CompoundLiteralExpr
This allows us to trigger the IDC visitor in the added test case.
llvm-svn: 176577
|
| |
|
|
|
|
|
|
|
|
| |
node” rather than last “non-null”.
The second modification does not lead to any visible result, but, theoretically, is what we should
have been looking at to begin with since we are checking if the node was assumed to be null in
an inlined function.
llvm-svn: 176576
|
| |
|
|
|
|
| |
make it more obvious what's going on.
llvm-svn: 176575
|
| |
|
|
| |
llvm-svn: 176574
|
| |
|
|
|
|
| |
This addresses http://llvm.org/bugs/show_bug.cgi?id=15427.
llvm-svn: 176573
|
| |
|
|
|
|
|
| |
Always print options that differ from their implicit default. At least
for simple option types.
llvm-svn: 176572
|
| |
|
|
| |
llvm-svn: 176570
|