summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/Linker.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-01-10 03:12:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-01-10 03:12:29 +0000
commit8097c0a0d98a01663000cd6856e57586c367b4a2 (patch)
tree08e19afa672ef30f3fd71a574bd352caf7c1f0a8 /llvm/lib/Linker/Linker.cpp
parent477933cfbd14522d945c30143d12585b58334da3 (diff)
downloadbcm5719-llvm-8097c0a0d98a01663000cd6856e57586c367b4a2.tar.gz
bcm5719-llvm-8097c0a0d98a01663000cd6856e57586c367b4a2.zip
Be a little more explanatory in a comment.
llvm-svn: 25168
Diffstat (limited to 'llvm/lib/Linker/Linker.cpp')
-rw-r--r--llvm/lib/Linker/Linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp
index 9ffe7a121e0..0afc2ee752d 100644
--- a/llvm/lib/Linker/Linker.cpp
+++ b/llvm/lib/Linker/Linker.cpp
@@ -134,7 +134,7 @@ static inline sys::Path IsLibrary(const std::string& Name,
if (FullPath.isArchive())
return FullPath;
- // Try the libX.so form
+ // Try the libX.so (or .dylib) form
FullPath.eraseSuffix();
FullPath.appendSuffix(&(LTDL_SHLIB_EXT[1]));
if (FullPath.isDynamicLibrary()) // Native shared library?
OpenPOWER on IntegriCloud