aboutsummaryrefslogtreecommitdiff
path: root/utils/GenLibDeps.pl
AgeCommit message (Collapse)Author
2011-03-31Fix typo in generated HTML.Nick Lewycky
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128594 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-11Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner
it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116190 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-25Filter the future all-of-llvm shared library out of the llvm-configJeffrey Yasskin
results. I'm checking this in before the shared library so that I can tell if it breaks anything on its own. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97089 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-04New flag for GenLibDeps, and llvm-config-perobjincl.Torok Edwin
This allows to show the explicit files that need to be built/linked to get an LLVM component. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95300 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-12Tweak GenLibDeps.pl so it works on solaris.Duncan Sands
Patch by Edward O'Callaghan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73228 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-21'The "or die" is intended to catch the case where nm returned aAnton Korobeynikov
non-zero exit status, so nm will already have printed some error messages.' Patch by Jay Foad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69677 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-12Tell GenLibDeps.pl to inspect .so and .dylib shared files.Oscar Fuentes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59158 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-04Make GenLibDeps.pl more robust in the face of broken piping problems.Chris Lattner
Patch by Kenneth Boyd! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57057 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-24Add support for building on solaris, working around namespaceChris Lattner
polution problems from system headers. Patch by Nathan Keynes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52682 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-30Revert 51775.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51795 91177308-0d34-0410-b5e6-96231b3b80d8
2008-05-30Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.Evan Cheng
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-24Added special support for stripping CRLF characters that may appear in theTed Kremenek
output of nm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45341 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-27Updated GenLibDeps.pl to employ "use strict" to help prevent uses of variablesTed Kremenek
that have not yet been defined. Removed used of grep and sed when parsing the results of "nm". This was originally motivated because if the user has specified options to grep using the environment variable GREP_OPTIONS this could break the script. Piping through grep/sed/sort/uniq is also (to my understanding) not necessary, and the equivalent operations can be done much faster in the Perl script. Using a crude benchmark, these changes resulted in a 3x speedup in the execution of GenLibDeps.pl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44372 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-03Print an error message if the lib directory (first argument) is not aReid Spencer
directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29508 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-01Fix a problem with use of undefined variables. Print an error message ifReid Spencer
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
2006-07-27Changes to support cross-compiling LLVM. The GenLibDeps.pl script needs toReid Spencer
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
2006-07-25Add a feature for debugging library dependency cycles, -why option. ThisReid Spencer
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
2006-05-13Don't try to reference uninitialized data. Make sure we can find "nm".Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28277 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-03Attempt to get this script working on Darwin.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28085 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-21Remove the extraneous --defined-only option to nm. This is the default andReid Spencer
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
2006-04-20Don't require the "dot" program if -flat option is given, and don't produceReid Spencer
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
2006-03-19Add a -flat option for generating the library dependencies in a flatReid Spencer
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
2005-01-051. Make sure that "dot" can be found in the pathReid Spencer
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
2004-12-30* Don't include weak definitions as a definitionReid Spencer
* 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
2004-12-30A Perl script to generate an HTML definition list containing the LLVMReid Spencer
library dependencies, for documentation purposes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19194 91177308-0d34-0410-b5e6-96231b3b80d8