diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-13 14:57:31 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-13 14:57:31 +0200 |
commit | 16315711d815580afa77f93424cc49c7362ab5b8 (patch) | |
tree | 09c5d771858c83a606f26dbfcf7b266822778135 /arm/TargetPrinter.ml | |
parent | daed22eb5afdc86267c8f90b55008267c9383fca (diff) | |
download | compcert-16315711d815580afa77f93424cc49c7362ab5b8.tar.gz compcert-16315711d815580afa77f93424cc49c7362ab5b8.zip |
Implement the usage of the debug_str section for the gcc backend.
GCC prints all string larger than 3 characters in the debug_str
section which reduces the size of the debug information since entries
containing the same string now map to the same string in the
debug_str sections.
Bug 17392.
Diffstat (limited to 'arm/TargetPrinter.ml')
-rw-r--r-- | arm/TargetPrinter.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm/TargetPrinter.ml b/arm/TargetPrinter.ml index 2e676090..b988f10f 100644 --- a/arm/TargetPrinter.ml +++ b/arm/TargetPrinter.ml @@ -157,7 +157,7 @@ module Target (Opt: PRINTER_OPTIONS) : TARGET = | Section_debug_loc -> ".section .debug_loc,\"\",%progbits" | Section_debug_abbrev -> ".section .debug_abbrev,\"\",%progbits" | Section_debug_line _ -> ".section .debug_line,\"\",%progbits" - + | Section_debug_str -> ".section .debug_str,\"MS\",%progbits,1" let section oc sec = fprintf oc " %s\n" (name_of_section sec) |