freebsd-dev/contrib/llvm/lib/MC
Dimitry Andric 5423d0917e Pull in r302416 from upstream llvm trunk (by Martin Storsjö):
[ARM] Clear the constant pool cache on explicit .ltorg directives

  Multiple ldr pseudoinstructions with the same constant value will
  reuse the same constant pool entry. However, if the constant pool is
  explicitly flushed with a .ltorg directive, we should not try to
  reference constants in the previous pool any longer, since they may
  be out of range.

  This fixes assembling hand-written assembler source which repeatedly
  loads the same constant value, across a binary size larger than the
  pc-relative fixup range for ldr instructions (4096 bytes). Such
  assembler source already uses explicit .ltorg instructions to emit
  constant pools with regular intervals. However if we try to reuse
  constants emitted in earlier pools, they end up out of range.

  This makes the output of the testcase match what binutils gas does
  (prior to this patch, it would fail to assemble).

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

This should fix "out of range pc-relative fixup value" errors, when
compiling certain ARM inline assembly for www/webkit-gtk[23].

Reported by:	mmel
MFC after:	3 days
2017-05-22 16:16:48 +00:00
..
MCDisassembler Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCParser Pull in r294458 from upstream llvm trunk (by Sanne Wouda): 2017-04-26 19:33:56 +00:00
ConstantPools.cpp Pull in r302416 from upstream llvm trunk (by Martin Storsjö): 2017-05-22 16:16:48 +00:00
ELFObjectWriter.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MachObjectWriter.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCAsmBackend.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCAsmInfo.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCAsmInfoCOFF.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
MCAsmInfoDarwin.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCAsmInfoELF.cpp Update llvm to release_39 branch r276489, and resolve conflicts. 2016-08-16 21:02:59 +00:00
MCAsmStreamer.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCAssembler.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCCodeEmitter.cpp
MCCodeView.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-11 13:58:05 +00:00
MCContext.cpp Pull in r294458 from upstream llvm trunk (by Sanne Wouda): 2017-04-26 19:33:56 +00:00
MCDwarf.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCELFObjectTargetWriter.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
MCELFStreamer.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCExpr.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCFragment.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCInst.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCInstPrinter.cpp Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-06-10 19:12:52 +00:00
MCInstrAnalysis.cpp Upgrade our copy of llvm/clang to 3.4 release. This version supports 2014-02-16 19:44:07 +00:00
MCInstrDesc.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
MCLabel.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCLinkerOptimizationHint.cpp Update llvm to release_39 branch r276489, and resolve conflicts. 2016-08-16 21:02:59 +00:00
MCMachObjectTargetWriter.cpp Update Makefiles and other build glue for llvm/clang 3.7.0, as of trunk 2015-06-10 19:12:52 +00:00
MCMachOStreamer.cpp Merge llvm, clang, compiler-rt, libc++, lld and lldb release_40 branch 2017-02-01 21:57:07 +00:00
MCNullStreamer.cpp Update llvm/clang to r241361. 2015-07-05 22:34:42 +00:00
MCObjectFileInfo.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCObjectStreamer.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCObjectWriter.cpp Update llvm to trunk r256633. 2015-12-30 13:13:10 +00:00
MCRegisterInfo.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCSchedule.cpp Update llvm/clang to r242221. 2015-08-12 18:31:11 +00:00
MCSection.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCSectionCOFF.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCSectionELF.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCSectionMachO.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCStreamer.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCSubtargetInfo.cpp Update llvm to trunk r256945. 2016-01-06 20:19:13 +00:00
MCSymbol.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCSymbolELF.cpp Update llvm/clang to r241361. 2015-07-05 22:34:42 +00:00
MCTargetOptions.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCValue.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
MCWin64EH.cpp Update llvm to release_39 branch r276489, and resolve conflicts. 2016-08-16 21:02:59 +00:00
MCWinEH.cpp Update llvm to release_39 branch r276489, and resolve conflicts. 2016-08-16 21:02:59 +00:00
StringTableBuilder.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
SubtargetFeature.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
WinCOFFObjectWriter.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00
WinCOFFStreamer.cpp Update llvm to trunk r290819 and resolve conflicts. 2017-01-02 21:25:48 +00:00