[llvm] r347359 - Fix pointer options mask. It was off by 1 bit.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 20 14:53:40 PST 2018
Author: zturner
Date: Tue Nov 20 14:53:40 2018
New Revision: 347359
URL: http://llvm.org/viewvc/llvm-project?rev=347359&view=rev
Log:
Fix pointer options mask. It was off by 1 bit.
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h?rev=347359&r1=347358&r2=347359&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeRecord.h Tue Nov 20 14:53:40 2018
@@ -272,8 +272,8 @@ public:
static const uint32_t PointerModeShift = 5;
static const uint32_t PointerModeMask = 0x07;
- // ----------XXX------XXXXX-------
- static const uint32_t PointerOptionMask = 0x1C0F80;
+ // ----------XXX------XXXXX--------
+ static const uint32_t PointerOptionMask = 0x381f00;
// -------------XXXXXX------------
static const uint32_t PointerSizeShift = 13;
More information about the llvm-commits
mailing list