1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC
Saleem Abdulrasool 103bab8f5d MC: ensure that we have a section before accessing it
We would attempt to access the symbol section without ensuring that the symbol
was not absolute.  When the assembler referenced relocation is not evaluated to
the absolute, but when we record the relocation, we would query the section.
Because the symbol is absolute, it does not have a section associated with it,
triggering an assertion.  Just be more careful about the access of the section.

Addresses PR31064!

llvm-svn: 287619
2016-11-22 04:32:54 +00:00
..
AArch64
AMDGPU
ARM MC: ensure that we have a section before accessing it 2016-11-22 04:32:54 +00:00
AsmParser
AVR
COFF
Disassembler
ELF
Hexagon
Lanai
MachO
Markup
Mips
PowerPC
Sparc
SystemZ
X86