From: Andrea Corallo Date: Mon, 2 Sep 2019 10:13:33 +0000 (+0200) Subject: let emit_literal_string_func emit a dbg friendly friendly X-Git-Tag: emacs-28.0.90~2727^2~1224 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d88d35ffed6c1073a0695ba1e980cb8ea7f09c3a;p=emacs.git let emit_literal_string_func emit a dbg friendly friendly --- diff --git a/src/comp.c b/src/comp.c index a08077ee41d..3b2f8e4e74d 100644 --- a/src/comp.c +++ b/src/comp.c @@ -1567,6 +1567,9 @@ emit_literal_string_func (const char *str_name, const char *str) str_name, 0, NULL, 0); DECL_BLOCK (block, f); + gcc_jit_block_add_comment (block, + NULL, + str); gcc_jit_lvalue *arr = gcc_jit_context_new_global (comp.ctxt, NULL,