[llvm-commits] [Fwd: [PATCH] GenLibsDep.pl fail-over for broken piping]

Kenneth Boyd zaimoni at zaimoni.com
Sat Aug 2 11:23:54 PDT 2008


Please accept my apologies for not noticing the correct list the first time.

-------- Original Message --------
Subject: 	[PATCH] GenLibsDep.pl fail-over for broken piping
Date: 	Sat, 02 Aug 2008 12:46:01 -0500
From: 	Kenneth Boyd <zaimoni at zaimoni.com>
To: 	LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>



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-commits/attachments/20080802/9ae142c8/attachment.ksh>


More information about the llvm-commits mailing list