From f2d6637c7d4a11f961ff289e64f70bf4de93d0aa Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Tue, 25 Oct 2016 16:31:58 +0200 Subject: macosx needs all strings in degub_str. --- debug/Dwarfgen.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debug') diff --git a/debug/Dwarfgen.ml b/debug/Dwarfgen.ml index 3c75b3dc..617c4570 100644 --- a/debug/Dwarfgen.ml +++ b/debug/Dwarfgen.ml @@ -578,7 +578,8 @@ let gnu_file_loc (f,l) = let string_table: (string,int) Hashtbl.t = Hashtbl.create 7 let gnu_string_entry s = - if String.length s < 4 || Configuration.system = "cygwin" then (*Cygwin does not use the debug_str seciton *) + if (String.length s < 4 && Configuration.system <> "macosx") (* macosx needs debug_str *) + || Configuration.system = "cygwin" then (*Cygwin does not use the debug_str seciton*) Simple_string s else try -- cgit