diff options
author | Richard Biener <rguenther@suse.de> | 2025-03-13 14:29:06 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-03-17 08:43:15 +0100 |
commit | 8912313df87679e202f2897ec25c924a67ee8117 (patch) | |
tree | 6d6f040dc5522e0b86e2f3fd07376611c58bc752 /gcc/rust/util | |
parent | a3ead22b42de8ddeeb869df2fa9cbdae7af5204d (diff) | |
download | gcc-8912313df87679e202f2897ec25c924a67ee8117.zip gcc-8912313df87679e202f2897ec25c924a67ee8117.tar.gz gcc-8912313df87679e202f2897ec25c924a67ee8117.tar.bz2 |
Add -[DU]_FORTIFY_SOURCE[=n] to DW_AT_producer
The following makes sure to record -D_FORTIFY_SOURCE=n and
-U_FORTIFY_SOURCE in the DW_AT_producer debuginfo attribute when
present on the compiler command line.
* opts.cc (gen_producer_string): Record -D and -U
with _FORTIFY_SOURCE prefix.
Diffstat (limited to 'gcc/rust/util')
0 files changed, 0 insertions, 0 deletions