docs: mention that default arguments are not yet parsed from DWARF

TypeParameter.default_argument is currently basically a placeholder
because we don't parse it from DWARF and compilers don't emit it, so
document that. See #82.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
Omar Sandoval 2021-02-17 02:16:23 -08:00
parent 36df5fc076
commit 9a066b409f

View File

@ -1752,7 +1752,8 @@ class TypeParameter:
.. note::
Neither GCC nor Clang emits debugging information for default arguments
(as of GCC 10 and Clang 11), so this is usually absent.
(as of GCC 10 and Clang 11), and drgn does not yet parse it, so this is
usually absent.
"""
type: Type