Skip to content

Commit bfe6fa9

Browse files
Update compiler-rt/lib/profile/InstrProfilingUtil.c
Co-authored-by: Hubert Tong <[email protected]>
1 parent 43f4926 commit bfe6fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/profile/InstrProfilingUtil.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ void lprofReleaseBuffer(ManagedMemory *Buf, size_t Length) {
373373
case MM_MMAP:
374374
munmap(Buf->Addr, Length);
375375
break;
376-
case MM_INVALID:
376+
default:
377377
PROF_ERR("%s: Buffer has invalid state: %d\n", __func__, Buf->Status);
378378
break;
379379
}

0 commit comments

Comments
 (0)