llvm-project/llvm/lib/MC
Alex Richardson fb9942f876 [AsmParser] Add source location to all errors related to .cfi directives
I was trying to add .cfi_ annotations to assembly code in the FreeBSD
kernel and changed a macro that then resulted in incorrectly nested
directives. However, clang's diagnostics said the error was happening at
<unknown>:0. This addresses one of the TODOs added in D51695.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D89787
2020-11-11 17:00:07 +00:00
..
MCDisassembler Make helpers static. NFC. 2020-07-09 13:48:56 +02:00
MCParser [AsmParser] Add source location to all errors related to .cfi directives 2020-11-11 17:00:07 +00:00
CMakeLists.txt
ConstantPools.cpp
ELFObjectWriter.cpp Revert "Reland D64327 [MC][ELF] Allow STT_SECTION referencing SHF_MERGE on REL targets" 2020-08-07 10:56:33 -07:00
LLVMBuild.txt
MCAsmBackend.cpp Support dwarf fission for wasm object files 2020-09-17 14:42:41 -07:00
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmInfoWasm.cpp
MCAsmInfoXCOFF.cpp [AIX] asm output: use character literals in byte lists for strings 2020-09-29 21:14:41 -04:00
MCAsmMacro.cpp [ms] [llvm-ml] Enable support for MASM-style macro procedures 2020-11-04 10:29:57 -05:00
MCAsmStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCAssembler.cpp [MC] Fix an assert in MCAssembler::writeSectionData to be aware of errors 2020-10-29 23:11:18 -07:00
MCCodeEmitter.cpp
MCCodeView.cpp [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCContext.cpp [XCOFF] Enable explicit sections on AIX 2020-11-09 16:27:38 +00:00
MCDwarf.cpp [MC] Rename a misnamed function. NFC. 2020-06-18 20:18:19 +07:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCExpr.cpp [MC] Inline MCExpr::printVariantKind & remove UseParensForSymbolVariantBit 2020-10-01 00:10:06 -07:00
MCFragment.cpp [X86] support .nops directive 2020-08-03 11:50:56 -07:00
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp [MC] Move MCInstrAnalysis::evaluateBranch to X86MCInstrAnalysis::evaluateBranch 2020-04-29 23:23:52 -07:00
MCInstrDesc.cpp
MCInstrInfo.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachOStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCMachObjectTargetWriter.cpp
MCNullStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCObjectFileInfo.cpp Revert "Reland [CFGuard] Add address-taken IAT tables and delay-load support" 2020-11-11 16:03:33 +01:00
MCObjectStreamer.cpp [X86] support .nops directive 2020-08-03 11:50:56 -07:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSchedule.cpp [ARM][SchedModels] Convert IsPredicatedPred to MCSchedPredicate 2020-10-19 11:37:54 +03:00
MCSection.cpp [MC] Resolve the difference of symbols in consecutive MCDataFragements 2020-09-09 12:35:43 -07:00
MCSectionCOFF.cpp
MCSectionELF.cpp Introduce and use a new section type for the bb_addr_map section. 2020-10-08 11:13:19 -07:00
MCSectionMachO.cpp
MCSectionWasm.cpp MCSectionWasm.h - reduce includes to forward declarations. NFC. 2020-06-27 10:03:34 +01:00
MCSectionXCOFF.cpp [XCOFF][AIX] Use TE storage mapping class when large code model is enabled 2020-08-10 19:52:10 +00:00
MCStreamer.cpp [AsmParser] Add source location to all errors related to .cfi directives 2020-11-11 17:00:07 +00:00
MCSubtargetInfo.cpp [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
MCSymbol.cpp
MCSymbolELF.cpp
MCSymbolXCOFF.cpp [AIX][XCOFF] change the operand of branch instruction from symbol name to qualified symbol name for function declarations 2020-08-11 15:26:19 -04:00
MCTargetOptions.cpp [MC] Add --dwarf64 to generate DWARF64 debug info [1/7] 2020-06-16 15:50:13 +07:00
MCTargetOptionsCommandFlags.cpp [MC] Add --dwarf64 to generate DWARF64 debug info [1/7] 2020-06-16 15:50:13 +07:00
MCValue.cpp
MCWasmObjectTargetWriter.cpp
MCWasmStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCWin64EH.cpp [MC] [Win64EH] Try to generate packed unwind info where possible 2020-09-23 09:03:01 +03:00
MCWinCOFFStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MCWinEH.cpp
MCXCOFFObjectTargetWriter.cpp
MCXCOFFStreamer.cpp [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
MachObjectWriter.cpp
StringTableBuilder.cpp [MC] Adjust StringTableBuilder for linked Mach-O binaries 2020-10-22 19:19:41 -07:00
SubtargetFeature.cpp
WasmObjectWriter.cpp [WebAssembly] Add support for DWARF type units 2020-10-28 17:41:22 -07:00
WinCOFFObjectWriter.cpp [COFF] Aliases resolve directly to defined external targets 2020-09-28 16:12:45 -04:00
XCOFFObjectWriter.cpp [XCOFF][AIX] Handle TOC entries that could not be reached by positive range in small code model 2020-09-14 13:41:34 +00:00