summaryrefslogtreecommitdiffstats
path: root/llvm/utils/KillTheDoctor
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-18 22:23:07 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-18 22:23:07 +0000
commitca93d8406dd2484e580747623356f9cd9221cacb (patch)
tree42e216805bc9162fcca9e66bb9ca2d229f57e066 /llvm/utils/KillTheDoctor
parent6b8b4855ff12696f20eb0e48375134ae92dbccd7 (diff)
downloadbcm5719-llvm-ca93d8406dd2484e580747623356f9cd9221cacb.tar.gz
bcm5719-llvm-ca93d8406dd2484e580747623356f9cd9221cacb.zip
Support/PathV1: Deprecate get{Basename,Dirname,Suffix}.
llvm-svn: 122157
Diffstat (limited to 'llvm/utils/KillTheDoctor')
-rw-r--r--llvm/utils/KillTheDoctor/KillTheDoctor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
index a623d6af8d9..7a89dd379b7 100644
--- a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
@@ -523,7 +523,7 @@ int main(int argc, char **argv) {
errs().indent(ToolName.size()) << ": DLL Name : " << DLLName << '\n';
}
- if (NoUser32 && sys::Path(DLLName).getBasename() == "user32") {
+ if (NoUser32 && sys::path::stem(DLLName) == "user32") {
// Program is loading user32.dll, in the applications we are testing,
// this only happens if an assert has fired. By now the message has
// already been printed, so simply close the program.
OpenPOWER on IntegriCloud