projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc0226b
)
DWARF: Actually set the selected language, not always DW_LANG_C_plus_plus.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 24 Apr 2012 20:21:53 +0000
(22:21 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 24 Apr 2012 20:24:01 +0000
(22:24 +0200)
ir/be/bedwarf.c
patch
|
blob
|
history
diff --git
a/ir/be/bedwarf.c
b/ir/be/bedwarf.c
index
fba835e
..
0382466
100644
(file)
--- 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);
}