diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-13 13:58:18 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-13 13:58:18 +0000 |
commit | 28f17529c8d4673d26b8e1c9e0dd87a64a4f0240 (patch) | |
tree | 263b351fcddaa726d296fc21e6f1f001c2221d5e /libcpp/ChangeLog | |
parent | 8cb30e1ad50f1bb277c635d83796c64772b61d68 (diff) | |
download | gcc-28f17529c8d4673d26b8e1c9e0dd87a64a4f0240.tar.gz |
libcpp/input.c: Add a way to visualize the linemaps (-fdump-internal-locations)
gcc/ChangeLog:
* common.opt (fdump-internal-locations): New option.
* input.c: Include diagnostic-core.h.
(get_end_location): New function.
(write_digit): New function.
(write_digit_row): New function.
(dump_location_range): New function.
(dump_labelled_location_range): New function.
(dump_location_info): New function.
* input.h (dump_location_info): New prototype.
* toplev.c (compile_file): Handle flag_dump_locations.
libcpp/ChangeLog:
* include/line-map.h (source_location): Add a reference to
location-example.txt to the descriptive comment.
* location-example.txt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/ChangeLog')
-rw-r--r-- | libcpp/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 229ffd33f03..32582ddeada 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,5 +1,11 @@ 2015-05-13 David Malcolm <dmalcolm@redhat.com> + * include/line-map.h (source_location): Add a reference to + location-example.txt to the descriptive comment. + * location-example.txt: New file. + +2015-05-13 David Malcolm <dmalcolm@redhat.com> + * include/line-map.h (MAX_SOURCE_LOCATION): Convert from a macro to a const source_location. (RESERVED_LOCATION_COUNT): Likewise. |