[PATCH] D20485: [esan] Add working set base runtime library

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 13:32:59 PDT 2016


aizatsky added inline comments.

================
Comment at: lib/esan/working_set.cpp:34
@@ +33,3 @@
+// See the shadow byte layout description above.
+static const u32 TotalWorkingSetBitIdx = 7;
+static const u32 CurWorkingSetBitIdx = 0;
----------------
Instead of bit fiddling, do you think a struct with bit fields would look better? 


http://reviews.llvm.org/D20485





More information about the llvm-commits mailing list