llvm-project/llvm/lib/MC
Rainer Orth 365be7ac72 [MC][ELF] Use SHF_SUNW_NODISCARD instead of SHF_GNU_RETAIN on Solaris
As requested in D107955 <https://reviews.llvm.org/D107955>, this patch
splits off the `MC` and `CodeGen` parts and adds a testcase.

Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and
`x86_64-pc-linux-gnu`.

Differential Revision: https://reviews.llvm.org/D120318
2022-02-23 15:43:12 +01:00
..
MCDisassembler Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
MCParser [MC][ELF] Use SHF_SUNW_NODISCARD instead of SHF_GNU_RETAIN on Solaris 2022-02-23 15:43:12 +01:00
CMakeLists.txt Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
ConstantPools.cpp [MC] Add MCSubtargetInfo to MCAlignFragment 2021-09-07 15:46:19 +01:00
ELFObjectWriter.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCAsmBackend.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCAsmInfo.cpp [AIX] Use AsmParser to do inline asm parsing 2021-07-02 16:12:21 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmInfoGOFF.cpp [SystemZ][z/OS] Introduce the GOFFMCAsmInfo Interface for z/OS 2021-09-24 16:25:41 -04:00
MCAsmInfoWasm.cpp
MCAsmInfoXCOFF.cpp [AIX] Emit version string in .file directive 2021-07-12 17:03:52 +00:00
MCAsmMacro.cpp
MCAsmStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCAssembler.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCCodeEmitter.cpp
MCCodeView.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCContext.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCDwarf.cpp Revert "Rename llvm::array_lengthof into llvm::size to match std::size from C++17" 2022-01-26 16:55:53 +01:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp [LLVM][NFC]Inclusive language: remove occurances of sanity check/test from llvm 2021-11-24 17:29:55 -05:00
MCExpr.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCFragment.cpp [MC] Recursively calculate symbol offset 2021-10-20 14:29:43 -04:00
MCInst.cpp [MC] Add the ability to pass MCRegisterInfo to dump_pretty. 2021-05-14 18:21:57 -07:00
MCInstPrinter.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCInstrAnalysis.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCInstrDesc.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCInstrInfo.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachOStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCMachObjectTargetWriter.cpp
MCNullStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCObjectFileInfo.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCObjectStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCObjectWriter.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCPseudoProbe.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCRegisterInfo.cpp [MC] Define and use MCRegisterInfo::regsOverlap 2022-02-14 20:46:02 +00:00
MCSchedule.cpp
MCSection.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCSectionCOFF.cpp
MCSectionELF.cpp [MC][ELF] Use SHF_SUNW_NODISCARD instead of SHF_GNU_RETAIN on Solaris 2022-02-23 15:43:12 +01:00
MCSectionMachO.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCSectionWasm.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCSectionXCOFF.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCStreamer.cpp Add DriverKit support 2022-02-22 13:42:53 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCSymbolELF.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCSymbolXCOFF.cpp
MCTargetOptions.cpp [WebAssembly] Added initial type checker to MC Assembler 2021-07-09 14:07:25 -07:00
MCTargetOptionsCommandFlags.cpp [WebAssembly] Added initial type checker to MC Assembler 2021-07-09 14:07:25 -07:00
MCValue.cpp
MCWasmObjectTargetWriter.cpp
MCWasmStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCWin64EH.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCWinCOFFStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCWinEH.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MCXCOFFObjectTargetWriter.cpp
MCXCOFFStreamer.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
MachObjectWriter.cpp MC: Use SmallVector::clear() instead of set_size(0) 2022-01-13 10:34:14 -08:00
StringTableBuilder.cpp [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00
SubtargetFeature.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
TargetRegistry.cpp [llvm] Use range-based for loops (NFC) 2021-12-09 09:37:29 -08:00
WasmObjectWriter.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00
WinCOFFObjectWriter.cpp [COFF] Move section name encoding into BinaryFormat 2022-02-21 13:50:56 +02:00
XCOFFObjectWriter.cpp Cleanup LLVMMC headers 2022-02-09 11:09:17 +01:00