summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index 5c0f91a9fe..ecce8e0f20 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -426,7 +426,7 @@ int main(int argc, char **argv) {
}
// Make sure the file gets removed if *gasp* tablegen crashes...
- sys::RemoveFileOnSignal(OutputFilename);
+ sys::RemoveFileOnSignal(sys::Path(OutputFilename));
}
try {