diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h index be6eb4c8998bd..d13b315135ad9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h @@ -70,7 +70,7 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase { /// Register containing the data or the register base of the memory /// location containing the data. - uint16_t CVRegister; + uint32_t CVRegister : 16; uint64_t static toOpaqueValue(const LocalVarDef DR) { uint64_t Val = 0;