Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3d244568
Commit
3d244568
authored
Dec 29, 2011
by
Ian Lance Taylor
Committed by
Ian Lance Taylor
Dec 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* dwarf2out.c (gen_compile_unit_die): Use DW_LANG_Go for Go.
From-SVN: r182717
parent
8d2fbf9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/ChangeLog
+4
-0
gcc/dwarf2out.c
+5
-0
No files found.
gcc/ChangeLog
View file @
3d244568
2011
-
12
-
28
Ian
Lance
Taylor
<
iant
@
google
.
com
>
*
dwarf2out
.
c
(
gen_compile_unit_die
):
Use
DW_LANG_Go
for
Go
.
2011
-
12
-
28
Michael
Meissner
<
meissner
@
linux
.
vnet
.
ibm
.
com
>
2011
-
12
-
28
Michael
Meissner
<
meissner
@
linux
.
vnet
.
ibm
.
com
>
PR
target
/
51623
PR
target
/
51623
gcc/dwarf2out.c
View file @
3d244568
...
@@ -18433,6 +18433,11 @@ gen_compile_unit_die (const char *filename)
...
@@ -18433,6 +18433,11 @@ gen_compile_unit_die (const char *filename)
language
=
DW_LANG_ObjC
;
language
=
DW_LANG_ObjC
;
else
if
(
strcmp
(
language_string
,
"GNU Objective-C++"
)
==
0
)
else
if
(
strcmp
(
language_string
,
"GNU Objective-C++"
)
==
0
)
language
=
DW_LANG_ObjC_plus_plus
;
language
=
DW_LANG_ObjC_plus_plus
;
else
if
(
dwarf_version
>=
5
||
!
dwarf_strict
)
{
if
(
strcmp
(
language_string
,
"GNU Go"
)
==
0
)
language
=
DW_LANG_Go
;
}
}
}
add_AT_unsigned
(
die
,
DW_AT_language
,
language
);
add_AT_unsigned
(
die
,
DW_AT_language
,
language
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment