Skip to content

Commit 5ac8339

Browse files
committed
Reword comment
1 parent 2f2f248 commit 5ac8339

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

compiler-rt/lib/msan/msan.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -464,13 +464,13 @@ void __msan_warning_with_origin_noreturn(u32 origin) {
464464
Die();
465465
}
466466

467-
// We duplicate the non _instname function's body because we don't want to
468-
// pollute the stack traces with an additional function call.
469-
//
470-
// We can't use a simple macro wrapper, because the instrumentation pass
471-
// expects function symbols.
472-
// We don't add instname as a parameter everywhere (with a check whether the
473-
// value is null) to avoid polluting the fastpath.
467+
// We duplicate the non _instname function's body because:
468+
// - we don't want to pollute the stack traces with an additional function
469+
// call.
470+
// - we can't use a simple macro wrapper, because the instrumentation pass
471+
// expects function symbols.
472+
// - we don't add instname as a parameter everywhere (with a check whether the
473+
// value is null) to avoid polluting the fastpath.
474474
void __msan_warning_instname(char *instname) {
475475
PRINT_FAULTING_INSTRUCTION(instname);
476476
GET_CALLER_PC_BP;

0 commit comments

Comments
 (0)