[LLVMdev] [PATCH] GenLibsDep.pl fail-over for broken piping

Kenneth Boyd zaimoni at zaimoni.com
Sat Aug 2 10:46:01 PDT 2008


Hello,

This patch adjusts GenLibDeps.pl to avoid falsely reporting that all 
libraries have no dependencies whatsoever.

If the %DepLibs hash proves to be empty after the loop in the 
gen_one_entry function:
* Assume that the command processor isn't *NIX-like enough to handle the 
piped command.
* Redo the hash construction (beyond the $nmPath invocation) in Perl.

Kenneth
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: GenLibDeps.pl.patch
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080802/5d951ba8/attachment.ksh>


More information about the llvm-dev mailing list