Index: compiler-rt/lib/hwasan/hwasan.cc =================================================================== --- compiler-rt/lib/hwasan/hwasan.cc +++ compiler-rt/lib/hwasan/hwasan.cc @@ -229,8 +229,8 @@ void InitFrameDescriptors(uptr b, uptr e) { FrameDescription *beg = reinterpret_cast(b); FrameDescription *end = reinterpret_cast(e); - // Must have at least one entry, which we can use for a linked list. - CHECK_GE(end - beg, 1U); + if (beg == end) + return; AllFrames.push_back({beg, end}); if (Verbosity()) for (FrameDescription *frame_descr = beg; frame_descr < end; frame_descr++)