[llvm-commits] CVS: llvm/utils/GenLibDeps.pl

Reid Spencer reid at x10sys.com
Wed May 3 11:16:13 PDT 2006



Changes in directory llvm/utils:

GenLibDeps.pl updated: 1.6 -> 1.7
---
Log message:

Attempt to get this script working on Darwin.


---
Diffs of the changes:  (+2 -2)

 GenLibDeps.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/utils/GenLibDeps.pl
diff -u llvm/utils/GenLibDeps.pl:1.6 llvm/utils/GenLibDeps.pl:1.7
--- llvm/utils/GenLibDeps.pl:1.6	Fri Apr 21 00:29:25 2006
+++ llvm/utils/GenLibDeps.pl	Wed May  3 13:16:01 2006
@@ -6,7 +6,7 @@
 #           libraries. The output of this script should periodically replace 
 #           the similar content in the UsingLibraries.html document.
 #
-# Syntax:   GenLibDeps.pl <directory_with_libraries_in_it>
+# Syntax:   GenLibDeps.pl [-flat] <directory_with_libraries_in_it>
 #
 
 # Parse arguments... 
@@ -76,7 +76,7 @@
     print "  <dt><b>$lib</b</dt><dd><ul>\n";
   }
   open UNDEFS, 
-    "nm -g -u $Directory/$lib | grep ' U ' | sed -e 's/         U //' | sort | uniq |";
+    "nm -g -u $Directory/$lib | sed -e 's/^  *U //' | sort | uniq |";
   open DEPENDS,
     "| sort | uniq > GenLibDeps.out";
   while (<UNDEFS>) {






More information about the llvm-commits mailing list