Skip to content

Commit 1c91b1e

Browse files
committed
[NFC][hwasan] Clang-format c557621
1 parent 97abf2e commit 1c91b1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler-rt/lib/hwasan/hwasan_report.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,7 @@ BaseReport::OverflowCandidate BaseReport::FindBufferOverflowCandidate() const {
474474
result.is_close = candidate_distance <= kCloseCandidateDistance;
475475

476476
result.after = candidate_tag_ptr == left;
477-
result.untagged_addr =
478-
ShadowToMem(reinterpret_cast<uptr>(candidate_tag_ptr));
477+
result.untagged_addr = ShadowToMem(reinterpret_cast<uptr>(candidate_tag_ptr));
479478
HwasanChunkView chunk = FindHeapChunkByAddress(result.untagged_addr);
480479
if (chunk.IsAllocated()) {
481480
result.heap.is_allocated = true;
@@ -600,7 +599,8 @@ void BaseReport::PrintAddressDescription() const {
600599
num_descriptions_printed++;
601600
}
602601

603-
if (!stack_allocations_count && candidate.untagged_addr && candidate.is_close) {
602+
if (!stack_allocations_count && candidate.untagged_addr &&
603+
candidate.is_close) {
604604
PrintHeapOrGlobalCandidate();
605605
num_descriptions_printed++;
606606
}

0 commit comments

Comments
 (0)