1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/MC
Nirav Dave ad117417c8 [MC] Prevent out of order HashDirective lexing in AsmLexer.
To lex hash directives we peek ahead to find component tokens, create a
unified token, and unlex the peeked tokens so the parser does not need
to parse the tokens then. Make sure we do not to lex another hash
directive during peek operation.

This fixes PR28921.

Reviewers: rnk, loladiro

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D24839

llvm-svn: 282992
2016-10-01 00:42:32 +00:00
..
MCDisassembler Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-08-23 17:14:32 +00:00
MCParser [MC] Prevent out of order HashDirective lexing in AsmLexer. 2016-10-01 00:42:32 +00:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp
LLVMBuild.txt
MachObjectWriter.cpp
MCAsmBackend.cpp [mips][ias] Support .dtprel[d]word and .tprel[d]word directives 2016-08-22 16:18:42 +00:00
MCAsmInfo.cpp [MC] Delete use of *structors_used. 2016-08-08 03:30:01 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp [MC] Delete use of *structors_used. 2016-08-08 03:30:01 +00:00
MCAsmInfoELF.cpp
MCAsmStreamer.cpp [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
MCAssembler.cpp
MCCodeEmitter.cpp
MCCodeView.cpp [codeview] Optimize the size of defranges with gaps 2016-09-15 22:05:08 +00:00
MCContext.cpp Tidy spelling and grammar. 2016-09-29 02:03:44 +00:00
MCDwarf.cpp
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
MCExpr.cpp [MC] Remove guard(s). NFCI. 2016-08-22 11:55:22 +00:00
MCFragment.cpp ADT: Split ilist_node_traits into alloc and callback, NFC 2016-08-30 18:40:47 +00:00
MCInst.cpp [MC] Remove guard(s). NFCI. 2016-08-22 11:55:22 +00:00
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCInstrDesc.cpp
MCLabel.cpp [MC] Remove guard(s). NFCI. 2016-08-22 11:55:22 +00:00
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp Move code only used by codegen out of MC. NFC. 2016-08-29 12:33:42 +00:00
MCObjectStreamer.cpp [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp Avoid accessing LLVM/DWARF register mappings if undefined 2016-08-12 23:12:59 +00:00
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
MCStreamer.cpp [codeview] Add new directives to record inlined call site line info 2016-09-07 16:15:31 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp [MC] Remove guard(s). NFCI. 2016-08-22 11:55:22 +00:00
MCSymbolELF.cpp
MCTargetOptions.cpp Initialize PreserveAsmComments in MCTargetOptions 2016-07-27 19:19:13 +00:00
MCValue.cpp [MC] Remove guard(s). NFCI. 2016-08-22 11:55:22 +00:00
MCWin64EH.cpp
MCWinEH.cpp
StringTableBuilder.cpp
SubtargetFeature.cpp [MC] Remove guard(s). NFCI. 2016-08-22 11:55:22 +00:00
WinCOFFObjectWriter.cpp
WinCOFFStreamer.cpp