You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ccomp -dalloctrace writes traces from multiple input files to the same file #620
$ echo'extern int ga(void); int a(void) { return ga(); }'> a.c
$ echo'extern int gb(void); int b(void) { return gb(); }'> b.c
$ ccomp -dalloctrace -S a.c b.c
$ ls *.alloctracea.alloctrace
a.alloctrace contains calls to both ga and gb. Compiling the files separately produces one trace per input. If b.alloctrace already exists, the combined invocation leaves its old contents in place.
I get the same result with -dall. Tested on 2685140 (aarch64-macos).
Activity