Testcase ?
================
Comment at: lib/Support/Unix/Program.inc:111
@@ +110,3 @@
+  // the behavior of sh(1) and friends.
+  if (Name.find('/') != std::string::npos)
+    return std::string(Name);
----------------
StringRef::npos ?
http://reviews.llvm.org/D6067