diff options
| author | David Blaikie <dblaikie@gmail.com> | 2013-05-10 21:53:14 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2013-05-10 21:53:14 +0000 |
| commit | 9dfd24324c079b564dda936c6ae46898b82121e2 (patch) | |
| tree | 41c7f83fd89bc31b2bb2621d9b6e59fd5c89e072 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 566a9c3680d9960bb0eb6acf33507251cc13a8d8 (diff) | |
| download | clang-9dfd24324c079b564dda936c6ae46898b82121e2.tar.gz clang-9dfd24324c079b564dda936c6ae46898b82121e2.tar.bz2 clang-9dfd24324c079b564dda936c6ae46898b82121e2.tar.xz | |
PR14992: Debug Info: Support more non-type template parameters
* Provide DW_TAG_template_value_parameter for pointers, function
pointers, member pointers, and member function pointers (still missing
support for template template parameters which GCC encodes as a
DW_TAG_GNU_template_template_param)
* Provide values for all but the (member & non-member) function pointer case.
Simple constant integer values for member pointers (offset within the
object) and address for the value pointer case. GCC doesn't provide a
value for the member function pointer case so I'm not sure how, if at
all, GDB supports encoding that. & non-member function pointers should
follow shortly in a subsequent patch.
* Null pointer value encodings of all of these types, including
correctly encoding null data member pointers as -1.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
