From: Christoph Mallon Date: Tue, 24 Apr 2012 20:21:53 +0000 (+0200) Subject: DWARF: Actually set the selected language, not always DW_LANG_C_plus_plus. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=1c588eb8ad655b643a96e27dc8e4377830dc2936;p=libfirm DWARF: Actually set the selected language, not always DW_LANG_C_plus_plus. --- diff --git a/ir/be/bedwarf.c b/ir/be/bedwarf.c index fba835eac..0382466a9 100644 --- a/ir/be/bedwarf.c +++ b/ir/be/bedwarf.c @@ -759,7 +759,7 @@ static void dwarf_unit_begin(dbg_handle *handle, const char *filename) ir_get_version_revision()); emit_string(filename); if (language != 0) - emit_int16(DW_LANG_C_plus_plus); + emit_int16(language); if (comp_dir != NULL) emit_string(comp_dir); }