Skip to content

Commit 0bfe2da

Browse files
Addressing reviewers (3)
1 parent 1bb9af5 commit 0bfe2da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bolt/lib/Core/BinarySection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ void BinarySection::flushPendingRelocations(raw_pwrite_stream &OS,
190190
// relocations are flushed. Otherwise, PatchEntries should run.
191191
if (!opts::ForcePatch) {
192192
BC.errs()
193-
<< "BOLT-ERROR: Cannot encode relocation for symbol "
193+
<< "BOLT-ERROR: cannot encode relocation for symbol "
194194
<< Reloc.Symbol->getName()
195195
<< " as it is out-of-range. To proceed must use -force-patch\n";
196196
exit(1);

bolt/unittests/Core/BinaryContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ TEST_P(BinaryContextTester,
188188
EXPECT_EXIT(BS.flushPendingRelocations(
189189
OS, [&](const MCSymbol *S) { return 0x800000F; }),
190190
::testing::ExitedWithCode(1),
191-
"BOLT-ERROR: Cannot encode relocation for symbol Func0x4 as it is"
191+
"BOLT-ERROR: cannot encode relocation for symbol Func0x4 as it is"
192192
" out-of-range. To proceed must use -force-patch");
193193
}
194194

0 commit comments

Comments
 (0)