1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/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
..
MCDisassembler Use StringRef instead of raw pointers in MCAsmInfo/MCInstrInfo APIs (NFC) 2016-10-01 06:46:33 +00:00
MCParser Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 16:43:50 +00:00
CMakeLists.txt Revert r283690, "MC: Remove unused entities." 2016-10-10 22:49:37 +00:00
ConstantPools.cpp Fix 24560: assembler does not share constant pool for same constants 2016-11-04 19:17:32 +00:00
ELFObjectWriter.cpp MC: ensure that we have a section before accessing it 2016-11-22 04:32:54 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 16:43:50 +00:00
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp Tidy the calls to getCurrentSection().first -> getCurrentSectionOnly to help 2016-10-14 05:47:37 +00:00
MCAssembler.cpp
MCCodeEmitter.cpp
MCCodeView.cpp [codeview] Truncate records to maximum record size near 64KB 2016-10-05 22:36:07 +00:00
MCContext.cpp Tidy spelling and grammar. 2016-09-29 02:03:44 +00:00
MCDwarf.cpp Reverting back r285355: "Update .debug_line section version information to match DWARF version", while I'm investigating a test failure. 2016-10-27 23:20:19 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
MCExpr.cpp [AMDGPU] Add 32-bit lo/hi got and pc relative variant kinds and emit appropriate relocations 2016-10-14 04:21:32 +00:00
MCFragment.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCInstrDesc.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp
MCObjectStreamer.cpp Tidy the calls to getCurrentSection().first -> getCurrentSectionOnly to help 2016-10-14 05:47:37 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSchedule.cpp
MCSection.cpp MC: Move MCSection::begin/end to header, NFC 2016-09-12 00:17:09 +00:00
MCSectionCOFF.cpp [MC] Handle discardable COFF sections in assembly 2016-09-14 22:41:50 +00:00
MCSectionELF.cpp
MCSectionMachO.cpp Use StringRef in MCSectionMachO (NFC) 2016-10-05 01:02:34 +00:00
MCStreamer.cpp Tidy the calls to getCurrentSection().first -> getCurrentSectionOnly to help 2016-10-14 05:47:37 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 15:02:18 +00:00
MCSymbolELF.cpp
MCTargetOptions.cpp New llc option pie-copy-relocations to optimize access to extern globals. 2016-10-13 20:54:39 +00:00
MCValue.cpp
MCWin64EH.cpp
MCWinEH.cpp Revert r283690, "MC: Remove unused entities." 2016-10-10 22:49:37 +00:00
StringTableBuilder.cpp [ADT] Move CachedHashString to its own header in ADT, and rename to CachedHashStringRef. 2016-10-17 22:24:36 +00:00
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp Fix comment typos. NFC. 2016-11-20 13:47:59 +00:00
WinCOFFStreamer.cpp