Displaying 13 results from an estimated 13 matches for "ctfconvert".
2012 Feb 11
2
[LLVMdev] DW_TAG_base_type missing DW_AT_name for subrange types
Hi,
ctfconvert is particularly unhappy about that (e.g., ERROR: ctfconvert:
die 141: base type without name). Is it intended behavior?
Simple testcase:
int
main(void)
{
int i[2];
return 0;
}
dwarfdump output:
clang version 3.0 (tags/RELEASE_30/final):
[...]
LOCAL_SYMBOLS:
[...]
<3&g...
2006 Oct 31
0
6241314 ctfconvert should understand SPARC real types in DWARF
Author: dmick
Repository: /hg/zfs-crypto/gate
Revision: cbab1f3458114bfa0299fad44636dcd38de5f505
Log message:
6241314 ctfconvert should understand SPARC real types in DWARF
6313293 ctfstabs is confused by gcc''s output
6268862 add more gcc support routines to a few places
6272005 gcc and cmd/mdb don''t get along
6273966 gcc and common/dis don''t get along
Files:
create: deleted_files/usr/src/cmd/mdb...
2015 Sep 01
2
RFC: DI: Stop preserving types from dead functions
Way back in r107027, we started preserving type information of local
variables of functions that are optimized away. This seemed strange to
me so I dug into the history: apparently, this is so that ctfconvert can
find these types (so they can be exposed in dtrace).
E.g., this commit made it so that for this C code:
static void foo(void) { struct X { int b; } v; }
we always get the type information for foo.v, even if foo() is optimized
away.
I came across this when trying to reverse the direction...
2012 Feb 21
0
[LLVMdev] DW_TAG_base_type missing DW_AT_name for subrange types
On Feb 11, 2012, at 7:51 AM, Yuri Pankov <yuri.pankov at gmail.com> wrote:
> Hi,
>
> ctfconvert is particularly unhappy about that (e.g., ERROR: ctfconvert:
> die 141: base type without name). Is it intended behavior?
Not that I know of, please file a bug.
Thanks!
-eric
2008 Dec 04
0
ERROR: ctfmerge: Cannot open output file isp for r/w: No such fil
OK, I am trying to dtrace isp(4) module in freebsd 7.
each obj file is converted using:
ctfconvert -L VERSION isp_freebsd.o
and using "ctfdump isp_freebsd.o" I can see CTF info embedded in the .o file
but in the linked kernel module, I found much less CTF info inside it.
I guess I should use "ctfmerge" to combine the CTF info from each obj file into the final kernel module...
2012 Feb 11
0
[LLVMdev] DW_TAG_base_type missing DW_AT_name for subrange types
Hi,
ctfconvert is particularly unhappy about that (e.g., ERROR: ctfconvert:
die 141: base type without name). Is it intended behavior?
Simple testcase:
int
main(void)
{
int i[2];
return 0;
}
dwarfdump output:
clang version 3.0 (tags/RELEASE_30/final):
[...]
LOCAL_SYMBOLS:
[...]
<3&g...
2005 Oct 06
1
CTF generation
Hello everybody!
How do people generate the Compact Type Format (CTF) section?
Do you have a special parser or employ gcc debug information?
Is there any open utility to do this job?
Best regards,
Yaroslav
2009 Oct 28
3
where do kernel data types come from?
I have a script where I can freely reference struct nameidata*, struct
vnode*, etc. on Snow Leopard.
How does DTrace know about these data types? I understand things like
#pragma D depends_on library darwin.d
where darwin.d has typedefs.
I can''t find definitions of nameidata and vnode in any D scripts,
though. How does it work?
Thanks, Joel
---
firefox for android!
2016 May 06
2
RFC: metadata attachments for global variables
...s version.c file: http://opensource.apple.com/source/xnu/xnu-1456.1.26/config/version.c).
> - When clang compiles debug info for a module it compiles an otherwise empty CU with debug info for all types in the module.
- (something we recently discussed on cfe-commits for better supporting dtrace/ctfconvert) because the frontend implemented a -gfull option that added all types to the CU’s list retained types.
> -- adrian
>
>> --
>> Mehdi
>>
>>
>>> We will also need a story for preserving DIGlobalVariables that are constants and have their GlobalObject optimi...
2016 May 06
3
RFC: metadata attachments for global variables
...umber = ...; // gets optimized away, but is still useful
>
>>> - When clang compiles debug info for a module it compiles an otherwise empty CU with debug info for all types in the module.
>>
>> - (something we recently discussed on cfe-commits for better supporting dtrace/ctfconvert) because the frontend implemented a -gfull option that added all types to the CU’s list retained types.
>
> Ok, you can have the named metadata to retain specific CU, but that could be the exception and not the rule.
Given the enum example, I’m not entirely convinced that there will be many...
2006 Oct 03
1
Problems building osox-src-2006-08-16 on x86_64 (dwarf data)
...-08-16/usr/src/tools/proto/opt/onbld/bin/i386/cw -_c+
/usr/sfw/bin/gcc -fident -finline -fno-inline-functions
-fno-builtin -fno-asm+ /opt/SUNWspro/bin/cc -xarch=amd64
-Ui386 -U__i386 -xO3 -W2,-Rlazy
../../intel/opt/work/src/osox-src-2006-08-16/usr/src/tools/proto/opt/onbld/bin/i386/ctfcon
ERROR: ctfconvert: file does not contain dwarf type data (try compiling with -gRemoving debug64/hat.o
*** Error code 1
dmake: Warning: Command failed for target `debug64/hat.o''
previously I downloaded required packages from http://opensolaris.org/os/community/xen/How-To-8-15-06/Downloads-Page-8-15-06
and...
2016 May 06
2
RFC: metadata attachments for global variables
> On May 6, 2016, at 3:17 PM, Adrian Prantl <aprantl at apple.com> wrote:
>
>
>> On May 6, 2016, at 1:17 PM, Peter Collingbourne via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>> 1) Lets us reverse the DIGlobalVariable -> GlobalVariable edge, which should hopefully clear the way for removing the llvm.dbg.cu named metadata node.
>
> Not to spoil all
2008 Aug 27
4
[releng_7 tinderbox] failure on amd64/amd64
...pto/heimdal/lib/asn1/parse.y
cd /src/kerberos5/tools/asn1_compile/../make-print-version && /usr/bin/make
cc -O2 -pipe -g -DHAVE_CONFIG_H -I/src/kerberos5/tools/make-print-version/../../include -c /src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c
ctfconvert -L VERSION make-print-version.o
ctfconvert:No such file or directory
*** Error code 1
Stop in /src/kerberos5/tools/make-print-version.
*** Error code 1
Stop in /src/kerberos5/tools/asn1_compile.
*** Error code 1
Stop in /src/kerberos5/tools.
*** Error code 1
Stop in /src.
*** Error code 1
Stop...