mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ModuleObjcMessageTrace: use a more generalized directory name. NFC
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user