diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-30 23:13:12 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-30 23:13:12 +0000 |
| commit | 266325e6d8617e43789812646b8f1ca8d6834c2f (patch) | |
| tree | cd18e1bf6b011b60cbcd73d898cd70b9a55ac601 | |
| parent | 72767f611c9d428a78ce67c99b9005078339ead0 (diff) | |
| download | bcm5719-llvm-266325e6d8617e43789812646b8f1ca8d6834c2f.tar.gz bcm5719-llvm-266325e6d8617e43789812646b8f1ca8d6834c2f.zip | |
* Don't include weak definitions as a definition
* Make subordinate libraries presented with a vertical list instead of all
listed on a single line.
llvm-svn: 19196
| -rwxr-xr-x | llvm/utils/GenLibDeps.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/GenLibDeps.pl b/llvm/utils/GenLibDeps.pl index 3bdb92ababb..ee2c46c4c87 100755 --- a/llvm/utils/GenLibDeps.pl +++ b/llvm/utils/GenLibDeps.pl @@ -28,7 +28,7 @@ my %objdefs; # Gather definitions from the libraries foreach $lib (@libs ) { open DEFS, - "nm -g --defined-only $lib | grep ' [ABCDGRSTVW] ' | sed -e 's/^[0-9A-Fa-f]* [ABCDGRSTVW] //' | sort | uniq |"; + "nm -g --defined-only $lib | grep ' [ABCDGRST] ' | sed -e 's/^[0-9A-Fa-f]* [ABCDGRST] //' | sort | uniq |"; while (<DEFS>) { chomp($_); $libdefs{$_} = $lib; @@ -52,7 +52,7 @@ foreach $obj (@objs ) { # object. The <dd> provides a list of the libraries/objects it depends on. sub gen_one_entry { my $lib = $_[0]; - print " <dt><b>$lib</b</dt><dd>\n"; + print " <dt><b>$lib</b</dt><dd><ul>\n"; open UNDEFS, "nm -u $lib | grep ' U ' | sed -e 's/ U //' | sort | uniq |"; open DEPENDS, @@ -74,10 +74,10 @@ sub gen_one_entry { open DF, "<GenLibDeps.out"; while (<DF>) { chomp; - print " $_\n"; + print " <li>$_</li>\n"; } close DF; - print " </dd>\n"; + print " </ul></dd>\n"; } # Make sure we flush on write. This is slower but correct based on the way we |

