mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Attempt to get this script working on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3bd5ca0fc
commit
829bcb172a
@ -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 @@ sub gen_one_entry {
|
||||
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>) {
|
||||
|
Loading…
Reference in New Issue
Block a user