summaryrefslogtreecommitdiff
path: root/utils/GenLibDeps.pl
Commit message (Collapse)AuthorAge
* Print an error message if the lib directory (first argument) is not aReid Spencer2006-08-03
| | | | | | | directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29508 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem with use of undefined variables. Print an error message ifReid Spencer2006-08-01
| | | | | | | | the first argument is omitted. Attempt to use a standard/default font. Make the generation of the DOT file readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29429 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs toReid Spencer2006-07-27
| | | | | | | | | | | have a compile-host version of "nm", not build-host. In order to effect this we must use autoconf to determine the correct "nm" to use and propagate that through the makefiles, through llvm-config and finally to GenLibDeps.pl as an optional argument. Patch contributed by Anton Korobeynikov. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29368 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a feature for debugging library dependency cycles, -why option. ThisReid Spencer2006-07-25
| | | | | | | | | | implies -flat and will produce a list of all the symbols for each library that another library depends on. Run the output through c++filt for better readability. Also, don't generate a temporary file for storing the dependent library names. Perl can handle it in a %hash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29273 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't try to reference uninitialized data. Make sure we can find "nm".Reid Spencer2006-05-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28277 91177308-0d34-0410-b5e6-96231b3b80d8
* Attempt to get this script working on Darwin.Reid Spencer2006-05-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28085 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the extraneous --defined-only option to nm. This is the default andReid Spencer2006-04-21
| | | | | | | some versions of nm don't recognize it (its a gnu option). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27928 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't require the "dot" program if -flat option is given, and don't produceReid Spencer2006-04-20
| | | | | | | | any of the fancy graphs or other output. Just produce the flat, makefile style output on stdout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27921 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a -flat option for generating the library dependencies in a flatReid Spencer2006-03-19
| | | | | | | format with one library per line, similar to a makefile dependency list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26873 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Make sure that "dot" can be found in the pathReid Spencer2005-01-05
| | | | | | | | | | 2. Fix a bug where the lib directory specified also had to be cwd 3. Weight the output so archive->archive edges are shorter 4. Generate two different graphs: one for libraries, one for objects. 5. Adjust the properties of the graphs till it looks nice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19293 91177308-0d34-0410-b5e6-96231b3b80d8
* * Don't include weak definitions as a definitionReid Spencer2004-12-30
| | | | | | | | * Make subordinate libraries presented with a vertical list instead of all listed on a single line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19196 91177308-0d34-0410-b5e6-96231b3b80d8
* A Perl script to generate an HTML definition list containing the LLVMReid Spencer2004-12-30
library dependencies, for documentation purposes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19194 91177308-0d34-0410-b5e6-96231b3b80d8