Attempt to unbreak msan bot.

r275301 made .got section be aligned on Target->GotEntrySize,
so GotEntrySize must have been initialized. We didn't initialize
it for AMDGPU.

llvm-svn: 275373
This commit is contained in:
Rui Ueyama 2016-07-14 05:46:22 +00:00
parent 648e422bd9
commit 0fad6ea551
1 changed files with 4 additions and 1 deletions

View File

@ -1454,7 +1454,10 @@ void AArch64TargetInfo::relaxTlsIeToLe(uint8_t *Loc, uint32_t Type,
llvm_unreachable("invalid relocation for TLS IE to LE relaxation");
}
AMDGPUTargetInfo::AMDGPUTargetInfo() { GotRel = R_AMDGPU_ABS64; }
AMDGPUTargetInfo::AMDGPUTargetInfo() {
GotRel = R_AMDGPU_ABS64;
GotEntrySize = 8;
}
void AMDGPUTargetInfo::relocateOne(uint8_t *Loc, uint32_t Type,
uint64_t Val) const {