Eric Christopher
5cd2a9d98e
Only add DW_AT_prototyped if we're working with a C-like language.
...
Worth another 45k (1%) off of a large C++ testcase.
rdar://10909458
llvm-svn: 151144
2012-02-22 08:46:21 +00:00
Eric Christopher
c81a7702c2
Testcase for previous commit.
...
rdar://10493979
llvm-svn: 151098
2012-02-21 22:25:56 +00:00
Eric Christopher
8575790912
There's no need for a DW_AT_byte_size on a pointer type.
...
Part of rdar://10493979 where it reduces by about .5% (10k)
llvm-svn: 151097
2012-02-21 22:25:53 +00:00
Eli Bendersky
924f9a671d
Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed.
...
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
llvm-svn: 150664
2012-02-16 06:28:33 +00:00
Eric Christopher
df1666e4e6
Fix the testcases for the previous patch.
...
rdar://10278198
llvm-svn: 148795
2012-01-24 10:11:49 +00:00
Eric Christopher
43a1182975
Don't avoid recursing for pointer types, just reference types. Expand on
...
the comment.
Fixes constvars.exp on the gdb test builder.
llvm-svn: 147897
2012-01-11 00:01:29 +00:00
Eric Christopher
27886c6c1e
When recursing for the original size of a type, stop if we are at a
...
pointer or a reference type - we actually just want the size of the
pointer then for that.
Fixes rdar://10335756
llvm-svn: 146785
2011-12-16 23:42:45 +00:00
Rafael Espindola
e7cc8bff82
The dwarf standard says that the only differences between a out-of-line
...
instance and a concrete inlined instance are the use of DW_TAG_subprogram
instead of DW_TAG_inlined_subroutine and the who owns the tree.
We were also omitting DW_AT_inline from the abstract roots. To fix this,
make sure we mark abstract instance roots with DW_AT_inline even when
we have only out-of-line instances referring to them with DW_AT_abstract_origin.
FileCheck is not a very good tool for tests like this, maybe we should add
a -verify mode to llvm-dwarfdump.
llvm-svn: 144441
2011-11-12 01:57:54 +00:00
Devang Patel
a90cb76489
Move X86 specific test in X86 directory.
...
llvm-svn: 144395
2011-11-11 18:13:19 +00:00
Devang Patel
a39794b029
Move X86 specific test in X86 directory.
...
llvm-svn: 144394
2011-11-11 18:10:38 +00:00
Eli Friedman
6185a2aa7c
Move another test requiring x86 into X86 directory.
...
llvm-svn: 143421
2011-11-01 03:12:47 +00:00
Eli Friedman
2cd281ea67
Move test requiring x86 backend into X86 directory.
...
llvm-svn: 143420
2011-11-01 03:11:41 +00:00
Rafael Espindola
fa384e6e3f
Test for previous commit.
...
llvm-svn: 133256
2011-06-17 14:16:17 +00:00
Galina Kistanova
8684a03c7e
Move test for appropriate directory.
...
llvm-svn: 133176
2011-06-16 18:13:57 +00:00
Rafael Espindola
b8e08be77d
Fix a regression I recently introduced by removing DwarfRegNum of
...
subregisters:
When a value is in a subregister, at least report the location as being
the superregister. We should extend the .td files to encode the bit
range so that we can produce a DW_OP_bit_piece.
llvm-svn: 132224
2011-05-27 22:15:01 +00:00
Rafael Espindola
8255d1e223
Move test.
...
llvm-svn: 131315
2011-05-13 21:35:17 +00:00
Rafael Espindola
a9289bedf8
Move test.
...
llvm-svn: 131314
2011-05-13 21:33:32 +00:00
Galina Kistanova
a335f5aeeb
Move few target-dependant tests to appropriate directories.
...
llvm-svn: 131002
2011-05-06 18:24:46 +00:00