Skip to content

Commit

Permalink
[msan] Fix comment of __msan::Origin::isHeapOrigin
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Jun 15, 2020
1 parent 3e39760 commit 6c7aebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/msan/msan_origin.h
Expand Up @@ -57,7 +57,7 @@ class Origin {

u32 raw_id() const { return raw_id_; }
bool isHeapOrigin() const {
// 1xxx xxxx xxxx xxxx
// 0xxx xxxx xxxx xxxx
return raw_id_ >> kHeapShift == 0;
}
bool isStackOrigin() const {
Expand Down

0 comments on commit 6c7aebb

Please sign in to comment.