Skip to content

Commit 0701014

Browse files
committed
Remove unnecessary memory allocation
1 parent 47f9dd1 commit 0701014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ IRGenDebugInfoImpl::IRGenDebugInfoImpl(const IRGenOptions &Opts,
15321532
Opts.DebugInfoLevel > IRGenDebugInfoLevel::LineTables
15331533
? llvm::DICompileUnit::FullDebug
15341534
: llvm::DICompileUnit::LineTablesOnly);
1535-
MainFile = getOrCreateFile(BumpAllocatedString(SourcePath));
1535+
MainFile = getOrCreateFile(SourcePath);
15361536

15371537
// Because the swift compiler relies on Clang to setup the Module,
15381538
// the clang CU is always created first. Several dwarf-reading

0 commit comments

Comments
 (0)