1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Target/AArch64/MCTargetDesc
Jessica Paquette a6ca6a3778 Add missing nullptr check to AArch64MachObjectWriter::recordRelocation
There was missing nullptr check before a call to getSection() in
recordRelocation. This would result in a segfault in code like the attached
test.

This adds the missing check and a test which makes sure we get the expected 
error output.

llvm-svn: 329716
2018-04-10 15:53:28 +00:00
..
AArch64AddressingModes.h [AArch64][SVE] Asm: Add AND_ZI instructions and aliases 2018-02-06 13:13:21 +00:00
AArch64AsmBackend.cpp Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
AArch64ELFObjectWriter.cpp [MC] Thread unique_ptr<MCObjectWriter> through the create.*ObjectWriter 2017-10-10 16:28:07 +00:00
AArch64ELFStreamer.cpp Clear LastMappingSymbols and LastEMS(Info) when resetting the ARM(AArch64)ELFStreamer 2017-10-26 17:36:43 +00:00
AArch64ELFStreamer.h [MC] Have MCObjectStreamer take its MCAsmBackend argument via unique_ptr. 2017-10-11 23:34:47 +00:00
AArch64FixupKinds.h
AArch64MachObjectWriter.cpp Add missing nullptr check to AArch64MachObjectWriter::recordRelocation 2018-04-10 15:53:28 +00:00
AArch64MCAsmInfo.cpp [AArch64] Allow using emulated tls on platforms other than ELF 2017-12-04 09:09:04 +00:00
AArch64MCAsmInfo.h [COFF, ARM64] Use '//' as comment character in assembly files in GNU environments 2017-08-13 19:42:05 +00:00
AArch64MCCodeEmitter.cpp [AArch64] Add support for secrel add/load/store relocations for COFF 2018-03-01 20:42:28 +00:00
AArch64MCExpr.cpp [AArch64] Add support for secrel add/load/store relocations for COFF 2018-03-01 20:42:28 +00:00
AArch64MCExpr.h [AArch64] Add support for secrel add/load/store relocations for COFF 2018-03-01 20:42:28 +00:00
AArch64MCTargetDesc.cpp [AArch64] Decorate AArch64 instrs with OPERAND_PCREL 2018-03-27 16:58:01 +00:00
AArch64MCTargetDesc.h Thread MCSubtargetInfo through Target::createMCAsmBackend 2018-01-03 08:53:05 +00:00
AArch64TargetStreamer.cpp
AArch64TargetStreamer.h
AArch64WinCOFFObjectWriter.cpp [AArch64] Add support for secrel add/load/store relocations for COFF 2018-03-01 20:42:28 +00:00
AArch64WinCOFFStreamer.cpp [AArch64] Use dwarf exception handling on MinGW 2017-11-03 07:33:20 +00:00
AArch64WinCOFFStreamer.h [MC] Have MCObjectStreamer take its MCAsmBackend argument via unique_ptr. 2017-10-11 23:34:47 +00:00
CMakeLists.txt
LLVMBuild.txt