repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git]
/
tools
/
build
/
feature
/
test-libbfd.c
blob
afa46b0465cd13762098e52828633b3a8ed1c376
1
// SPDX-License-Identifier: GPL-2.0
2
#include <bfd.h>
3
4
extern
int
printf
(
const char
*
format
, ...);
5
6
int
main
(
void
)
7
{
8
char
symbol
[
4096
] =
"FieldName__9ClassNameFd"
;
9
char
*
tmp
;
10
11
tmp
=
bfd_demangle
(
0
,
symbol
,
0
);
12
13
printf
(
"demangled symbol: {%s}
\n
"
,
tmp
);
14
15
return
0
;
16
}