[llvm] r283294 - Blind attempt to fix windows build after r283290 - Use StringRef in StringSaver API (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 18:41:11 PDT 2016
Author: mehdi_amini
Date: Tue Oct 4 20:41:11 2016
New Revision: 283294
URL: http://llvm.org/viewvc/llvm-project?rev=283294&view=rev
Log:
Blind attempt to fix windows build after r283290 - Use StringRef in StringSaver API (NFC)
Modified:
llvm/trunk/lib/Support/Windows/Signals.inc
Modified: llvm/trunk/lib/Support/Windows/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Signals.inc?rev=283294&r1=283293&r2=283294&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Signals.inc (original)
+++ llvm/trunk/lib/Support/Windows/Signals.inc Tue Oct 4 20:41:11 2016
@@ -266,7 +266,7 @@ static BOOL CALLBACK findModuleCallback(
continue;
intptr_t Addr = (intptr_t)Data->StackTrace[I];
if (Beg <= Addr && Addr < End) {
- Data->Modules[I] = Data->StrPool->save(ModuleName);
+ Data->Modules[I] = Data->StrPool->save(ModuleName).data();
Data->Offsets[I] = Addr - Beg;
}
}
More information about the llvm-commits
mailing list