aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-12-09 20:55:18 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-12-09 20:55:18 +0000
commit5cd614ceccbeba752d4d480789175ffb88a818e5 (patch)
treeda0a5d00b117545c9e3673817305f20991db84bc /gcc/plugin.c
parentdd9133238205adddf820bff279575c2348f8c13a (diff)
downloadgcc-5cd614ceccbeba752d4d480789175ffb88a818e5.zip
gcc-5cd614ceccbeba752d4d480789175ffb88a818e5.tar.gz
gcc-5cd614ceccbeba752d4d480789175ffb88a818e5.tar.bz2
toyvm.c: use correct path in debuginfo
gcc/jit/ChangeLog: * docs/examples/tut04-toyvm/toyvm.c (toyvm_function_compile): Move logic for determine "funcname" to new function... (get_function_name): ...here, adding logic to skip any leading path from the filename. (toyvm_function_parse): Use the filename for fn_filename, rather than "name", so that the debugger can locate the source .toy file. (toyvm_function_parse): Don't fclose a NULL FILE *. From-SVN: r218540
Diffstat (limited to 'gcc/plugin.c')
0 files changed, 0 insertions, 0 deletions