[mc-coff] Forward Linker Option flags into the .drectve section
authorReid Kleckner <reid@kleckner.net>
Thu, 25 Apr 2013 19:34:41 +0000 (19:34 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 25 Apr 2013 19:34:41 +0000 (19:34 +0000)
commit4b5581530393e647d559360f8c6f229c05aca94f
tree14ce0ae13274dae4d97ad2738dfa9850e431cfc3
parent93d0b06e2adca2d9f3d4ec544f352cc4e5e9618a
[mc-coff] Forward Linker Option flags into the .drectve section

Summary:
This is modelled on the Mach-O linker options implementation and should
support a Clang implementation of #pragma comment(lib/linker).

Reviewers: rafael

CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D724

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180569 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/MC/COFF/linker-options.ll [new file with mode: 0755]