diff options
author | emaste <emaste@FreeBSD.org> | 2012-12-19 16:23:20 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-12-19 16:23:20 +0000 |
commit | da3764e4922011e17d3e1ea0f7bcca3d63ff72bd (patch) | |
tree | 6d6e362c1ebb0a6fc4e33788a7327f0b5a32664b /contrib/diff/src/diff.h | |
parent | ab9dc4d86b2b6bf88fca7765d86e68b6c3d759fc (diff) | |
download | FreeBSD-src-da3764e4922011e17d3e1ea0f7bcca3d63ff72bd.zip FreeBSD-src-da3764e4922011e17d3e1ea0f7bcca3d63ff72bd.tar.gz |
Support restrict qualifier in dwarf debug info
Newer clang/llvm emit DW_TAG_restrict_type, which wasn't handled by gdb.
Import support from Apple's gdb-1822:
| 2009-03-24 Jason Molenda (jmolenda@apple.com)
|
| * gdbtypes.c (make_cv_type): Rename this function to make_cvr_type to
| also handle restrict qualifiers.
| (check_typedef): Handle TYPE_RESTRICT.
| * gdbtypes.h (TYPE_FLAG_RESTRICT, TYPE_RESTRICT): New.
| * hpread.c (hpread_type_lookup): Update to use make_cvr_type.
| * stabsread.c (read_type): Pass the restrict qualifiers along.
| * parse.c (follow_types): Pass the restrict qualifiers along.
| * dwarf2read.c (read_tag_const_type): Call make_cvr_type.
| (read_tag_volatile_type): Same.
| (read_tag_restrict_type): New function.
| (read_type_die): Handle DW_TAG_restrict_type.
Obtained from: Apple
Sponsored by: ADARA Networks
Diffstat (limited to 'contrib/diff/src/diff.h')
0 files changed, 0 insertions, 0 deletions