ModuleObjcMessageTrace: use a more generalized directory name. NFC

This commit is contained in:
Xi Ge
2024-10-29 13:42:22 -07:00
parent 58e40166fb
commit 3fc9e273f3
2 changed files with 2 additions and 2 deletions

View File

@@ -914,7 +914,7 @@ bool swift::emitObjCMessageSendTraceIfNeeded(ModuleDecl *mainModule,
return false;
llvm::SmallString<128> tracePath {loadedModuleTracePath};
llvm::sys::path::remove_filename(tracePath);
llvm::sys::path::append(tracePath, ".SWIFT_OBJC_MESSAGE_TRACE");
llvm::sys::path::append(tracePath, ".SWIFT_FINE_DEPENDENCY_TRACE");
if (!llvm::sys::fs::exists(tracePath)) {
if (llvm::sys::fs::create_directory(tracePath))
return false;