]> granicus.if.org Git - llvm/commit
IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 12 Jun 2017 20:10:48 +0000 (20:10 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 12 Jun 2017 20:10:48 +0000 (20:10 +0000)
commit9283a09c1837b1822c542d739d6aa810330f5f8e
tree6a8da15850424e9e31e5d9e5b6c267a52eac029e
parentfd2310ef5b44b34999c72ec5886a5b039b892526
IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata.

The new metadata is easier to manipulate than module flags.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305227 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
docs/LangRef.rst
include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
include/llvm/LTO/legacy/LTOModule.h
include/llvm/Target/TargetLoweringObjectFile.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/IR/Verifier.cpp
lib/LTO/LTOModule.cpp
lib/Object/IRSymtab.cpp
test/Bitcode/upgrade-linker-options.ll [new file with mode: 0644]
test/DebugInfo/COFF/array-odr-violation.ll
test/DebugInfo/COFF/inlining-same-name.ll
test/LTO/Resolution/X86/symtab-elf.ll
test/LTO/Resolution/X86/symtab.ll
test/MC/COFF/cv-compiler-info.ll
test/MC/COFF/linker-options.ll
test/MC/MachO/linker-options.ll