Displaying 2 results from an estimated 2 matches for "d2a62999".
2015 May 28
0
[LLVMdev] Callgraph inaccuracy
I'm working on this issue, thank you for reporting it.
The short answer is that the callgraph reported by TD is the same as
discovered/computed during BU
(and BU can't determine the indirect call can only target C2).
I've added this example, and a few other related tests, to the DSA's
test suite[1] to document
this behavior while I'm working out what the best solution is.
2015 May 24
2
[LLVMdev] Callgraph inaccuracy
Hello,
I am trying to extract a callgraph using DSA, but the analysis looks quite
pessimistic. I use TDD analysis and here is my test code:
#include <stdlib.h>
typedef void (*tX)(int a, int b);
typedef void (*tY)(int a);
typedef struct {
tX p ;
int n;
} msg;
static void A1(int a) { }
static void B2(int a, int b) { }
static void C2(int a, int b) { }
tY q;
static void decode(tX