Displaying 3 results from an estimated 3 matches for "getfunctionforwarddeclar".
2016 Dec 09
0
cross-checking external declarations / debug info for declarations
...> the external function (“foo” below) but does not generate a (in Dwarf)
> DW_TAG_Subprogram which binds that type to the name. Is that expected?
>
We are probably not visiting forward declarations in CGDebugInfo. You would probably need to visit them and call something like CGDebugInfo::getFunctionForwardDeclaration() on each declaration.
-- adrian
2016 Dec 08
6
cross-checking external declarations / debug info for declarations
I am interested in putting together a tool which can verify that an external declaration conforms with the actual definition.
A.c:
extern int32_t foo();
Int bar() { return foo(); }
B.c:
int64_t foo() { ... }
I had thought that I could use the debug information but the debug information in A.o does not include the type of the declaration "foo", just the type of bar.
Is there a way to
2016 Dec 12
1
cross-checking external declarations / debug info for declarations
...on (³foo² below) but does not generate a (in Dwarf)
>> DW_TAG_Subprogram which binds that type to the name. Is that expected?
>>
>
>We are probably not visiting forward declarations in CGDebugInfo. You
>would probably need to visit them and call something like
>CGDebugInfo::getFunctionForwardDeclaration() on each declaration.
>
>-- adrian