summaryrefslogtreecommitdiff
path: root/tools/llc/llc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r--tools/llc/llc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 4e1e0cce7b..ba624b2127 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -115,7 +115,7 @@ int main(int argc, char **argv) {
// Make sure that the Out file gets unlinked from the disk if we get a
// SIGINT
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
} else {
Out = &std::cout;
}
@@ -148,7 +148,7 @@ int main(int argc, char **argv) {
// Make sure that the Out file gets unlinked from the disk if we get a
// SIGINT
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
}
}