Bug #789
closedLDV-Git doesn't detect call-graph dependencies
0%
Description
After reviewing metadata of Eugene Novikov's machine, I noticed that they don't contain dependency data at all.
Perhaps, the reason is a compiler-specific way of printing those debug dumps, out of which the dependencies are extracted. GCC 4.4.1 on my machine provides the dumps that can be understood by LDV-Git.
Eugene, could you, please, post your version of GCC compiler, and attach a debug dump (on my machine it's named hello_world.c.128r.expand
) that is produced by compiling a simple hello_world program (attached):
gcc -o hello_world.o hello_world.c -fdump-rtl-expand
Files
Updated by Evgeny Novikov almost 14 years ago
On my machine it has another name (see attachment).
Updated by Evgeny Novikov almost 14 years ago
I can advice you to try the following command:
gcc -o hello_world.o hello_world.c -fdump-tree-all
may be you'll find something interesting.
Updated by Evgeny Novikov almost 14 years ago
O! I have found a good option for you: -fdump-final-insns[=file] By means of it you can get almost the same as you got (most probably) and control where to dump representation.
Updated by Pavel Shved almost 14 years ago
- Status changed from Feedback to Open
Newer GCC versions place the dump into the directory where source file resides, while older versions placed it into the current working dir.
I fixed the meta1
script to look for *.expand
file in both locations. The fix is placed to fix-789
branch for testing.
Updated by Pavel Shved almost 14 years ago
- Status changed from Open to Resolved
- Published in build set to 8038062
Eugene reports that the commit fixes the absence of dependencies.
The fix is merges in 8038062
Updated by Pavel Shved over 13 years ago
Eugene, does it work on your machine as of today? If it does, the bug is closed.
Updated by Evgeny Novikov over 13 years ago
I'll see it tomorrow or in the day after tomorrow.
Updated by Evgeny Novikov over 13 years ago
I'll try to test it with the problem described in #749.
Updated by Evgeny Novikov over 13 years ago
- Status changed from Resolved to Closed
I observe that dependencies are collected well even more two files were caught in comparison with the listed in #749 ones:
/drivers/base/power/runtime.o /drivers/base/devtmpfs.o