diff options
author | Martin Liska <mliska@suse.cz> | 2022-04-26 09:56:37 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-04-26 15:46:52 +0200 |
commit | cd4acb8cd9e45fd35664baa5b0a3150e479aae32 (patch) | |
tree | 90bdd54aec83b0a2045f086e7ceab94331a23425 /gcc/gcov-io.cc | |
parent | 796b7cbac3d553a91d37c3961b9391fb7e19d0c6 (diff) | |
download | gcc-cd4acb8cd9e45fd35664baa5b0a3150e479aae32.zip gcc-cd4acb8cd9e45fd35664baa5b0a3150e479aae32.tar.gz gcc-cd4acb8cd9e45fd35664baa5b0a3150e479aae32.tar.bz2 |
lto: use diagnostics_context in print_lto_docs_link
Properly parse OPT_fdiagnostics_urls_ and then initialize both urls
and colors for global_dc. Doing that we would follow the configure
option --with-documentation-root-url, -fdiagnostics-urls is respected.
Plus we'll print colored warning and note messages.
PR lto/105364
gcc/ChangeLog:
* lto-wrapper.cc (print_lto_docs_link): Use global_dc.
(run_gcc): Parse OPT_fdiagnostics_urls_.
(main): Initialize global_dc.
Diffstat (limited to 'gcc/gcov-io.cc')
0 files changed, 0 insertions, 0 deletions