================
@@ -50,4 +51,13 @@ void CodeGenOptions::resetNonModularOptions(StringRef 
ModuleFormat) {
   RelocationModel = llvm::Reloc::PIC_;
 }
 
+std::string CodeGenOptions::remapDebugPathPrefix(StringRef Path) const {
+  SmallString<0> P = Path;
----------------
aganea wrote:

Please use `SmallString<256>` to avoid a bunch of heap allocations.

https://github.com/llvm/llvm-project/pull/205729
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to