Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [dotest] Avoid the need for LEVEL= makefile boilerplate | Pavel Labath | 2019-09-04 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | Summary: Instead of each test case knowing its depth relative to the test root, we can just have dotest add the folder containing Makefile.rules to the include path. This was motivated by r370616, though I have been wanting to do this ever since we moved to building tests out-of-tree. The only manually modified files in this patch are lldbinline.py and plugins/builder_base.py. The rest of the patch has been produced by this shell command: find . \( -name Makefile -o -name '*.mk' \) -exec sed --in-place -e '/LEVEL *:\?=/d' -e '1,2{/^$/d}' -e 's,\$(LEVEL)/,,' {} + Reviewers: teemperor, aprantl, espindola, jfb Subscribers: emaste, javed.absar, arichardson, christof, arphaman, lldb-commits Differential Revision: https://reviews.llvm.org/D67083 llvm-svn: 370845 | ||||
* | Supply a default implementation of IsRuntimeSupportValue. | Adrian Prantl | 2019-05-03 | 1 | -1/+0 |
| | | | | | | Thanks to Pavel for pointing this out. llvm-svn: 359925 | ||||
* | Split TestVLA into two and XFAIL one part | Pavel Labath | 2019-05-03 | 1 | -3/+10 |
| | | | | | | | The part which checks whether vla_expr shows up in the variable list does not pass on non-darwin platforms. Add the appropriate decorator. llvm-svn: 359867 | ||||
* | Fix tests on non-Darwin platforms. | Adrian Prantl | 2019-05-02 | 1 | -1/+2 |
| | | | | llvm-svn: 359846 | ||||
* | Hide runtime support values such as clang's __vla_expr from frame variable | Adrian Prantl | 2019-05-02 | 1 | -2/+13 |
| | | | | | | | | | | | | by respecting the "artificial" attribute on variables. Function arguments that are artificial and useful to end-users are being whitelisted by the language runtime. <rdar://problem/45322477> Differential Revision: https://reviews.llvm.org/D61451 llvm-svn: 359841 | ||||
* | [TestVLA] Fix a python decorator. | Davide Italiano | 2018-11-06 | 1 | -1/+2 |
| | | | | llvm-svn: 346186 | ||||
* | Skip this test on older versions of clang. | Adrian Prantl | 2018-11-05 | 1 | -0/+1 |
| | | | | llvm-svn: 346172 | ||||
* | Fix (and improve) the support for C99 variable length array types | Adrian Prantl | 2018-11-05 | 3 | -0/+45 |
Clang recently improved its DWARF support for C VLA types. The DWARF now looks like this: 0x00000051: DW_TAG_variable [4] DW_AT_location( fbreg -32 ) DW_AT_name( "__vla_expr" ) DW_AT_type( {0x000000d3} ( long unsigned int ) ) DW_AT_artificial( true ) ... 0x000000da: DW_TAG_array_type [10] * DW_AT_type( {0x000000cc} ( int ) ) 0x000000df: DW_TAG_subrange_type [11] DW_AT_type( {0x000000e9} ( __ARRAY_SIZE_TYPE__ ) ) DW_AT_count( {0x00000051} ) Without this patch LLDB will naively interpret the DIE offset 0x51 as the static size of the array, which is clearly wrong. This patch extends ValueObject::GetNumChildren to query the dynamic properties of incomplete array types. See the testcase for an example: 4 int foo(int a) { 5 int vla[a]; 6 for (int i = 0; i < a; ++i) 7 vla[i] = i; 8 -> 9 pause(); // break here 10 return vla[a-1]; 11 } (lldb) fr v vla (int []) vla = ([0] = 0, [1] = 1, [2] = 2, [3] = 3) (lldb) quit rdar://problem/21814005 Differential Revision: https://reviews.llvm.org/D53530 llvm-svn: 346165 |