Commit 05637256 authored by Georgi Mirazchiyski's avatar Georgi Mirazchiyski Committed by Luke Drummond
Browse files

[NFC][AMDGPU] Guard the custom fixups kind array from invalid access

Protect from accidental passing of an invalid MCFixupKind value which
can cause an out-of-bounds access in the array.

Reviewed by: arsenm

Differential Revision: https://reviews.llvm.org/D158725
parent 976244bb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment