MC: introduce ability to restrict recorded relocations
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 21 May 2014 23:17:50 +0000 (23:17 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 21 May 2014 23:17:50 +0000 (23:17 +0000)
commit159ccc8f51f7cb090058cfd0dcb64453f5681606
treeb6aa4caba01104b99a4fce184474bcd73669dabf
parent111bad385ab8bdaec4a798481be6b66252417dce
MC: introduce ability to restrict recorded relocations

Add support to allow a target specific COFF object writer to restrict the
recorded resolutions in the emitted object files.  This is motivated by the need
in Windows on ARM, where an intermediate relocation needs to be prevented from
being emitted in the object file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209336 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCWinCOFFObjectWriter.h
lib/MC/WinCOFFObjectWriter.cpp