[llvm-commits] make utils/GenLibDeps.pl ignore 'D' lines from nm
Nick Lewycky
nicholas at mxc.ca
Sun Feb 15 00:37:00 PST 2009
GenLibDeps is showing that .so files all depend on each other.
Technically, this hasn't caused a problem yet because neither libLTO.so
nor libHello.so fir the 'libLLVM* or LLVM*' file convention, so they're
both ignored by GenLibDeps entirely.
libLLVMgold is not so lucky. GenLibDeps concludes that everybody depends
on libLLVMgold since it shows a 'D' record for __dso_handle. In my
Debug/lib/ directory, the only D records come from .so files. The
attached patch makes GenLibDeps ignore all D entries, and removes the
apparent cycle encountered when building the gold plugin.
Comments?
Nick Lewycky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: so-files.patch
Type: text/x-diff
Size: 962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090215/22aa64ba/attachment.patch>
More information about the llvm-commits
mailing list