OSDN Git Service

[AMDGPU][mc] Fix memory corruption uncovered by AddressSanitizer during coverage...
authorArtem Tamazov <artem.tamazov@amd.com>
Fri, 27 Jan 2017 22:19:42 +0000 (22:19 +0000)
committerArtem Tamazov <artem.tamazov@amd.com>
Fri, 27 Jan 2017 22:19:42 +0000 (22:19 +0000)
commit45120444dafbcf2f5174545e992c73d88892fd10
treeb1be9d3962b36bce321f08f5e71b16c68c4e197a
parent946288f92c670fd793c0644b6eadb01b768141c6
[AMDGPU][mc] Fix memory corruption uncovered by AddressSanitizer during coverage/smoke Gfx7/8 testing.

Coverage/smoke Gfx7/8 tests were committed r292922 but then reverted
by r292974 due to AddressSanitizer failure, which is fixed by this patch.
Tests to be re-committed soon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293338 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp