[compiler-rt] Fix build by wrapping lines to 80 chars (NFC)

llvm-svn: 248973
This commit is contained in:
Vedant Kumar 2015-10-01 00:48:07 +00:00
parent 74d8806635
commit f997bd88d7
3 changed files with 6 additions and 3 deletions

View File

@ -78,7 +78,8 @@ void internal_bzero_aligned16(void *s, uptr n) {
CHECK_EQ((reinterpret_cast<uptr>(s) | n) & 15, 0);
for (S16 *p = reinterpret_cast<S16*>(s), *end = p + n / 16; p < end; p++) {
p->a = p->b = 0;
SanitizerBreakOptimization(nullptr); // Make sure this does not become memset.
// Make sure this does not become memset.
SanitizerBreakOptimization(nullptr);
}
}

View File

@ -101,7 +101,8 @@ void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top,
MemoryMappingLayout proc_maps(/*cache_enabled*/true);
uptr start, end, offset;
uptr prev_end = 0;
while (proc_maps.Next(&start, &end, &offset, nullptr, 0, /* protection */nullptr)) {
while (proc_maps.Next(&start, &end, &offset, nullptr, 0,
/* protection */nullptr)) {
if ((uptr)&rl < end)
break;
prev_end = end;

View File

@ -150,7 +150,8 @@ bool ThreadSuspender::SuspendThread(SuspendedThreadID tid) {
return false;
}
if (WIFSTOPPED(status) && WSTOPSIG(status) != SIGSTOP) {
internal_ptrace(PTRACE_CONT, tid, nullptr, (void*)(uptr)WSTOPSIG(status));
internal_ptrace(PTRACE_CONT, tid, nullptr,
(void*)(uptr)WSTOPSIG(status));
continue;
}
break;