]> granicus.if.org Git - clang/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)
commit80987ad1a6febf3a18d372c30364824cdc0078e8
tree9072c602a60f10190b47fb6a632e628b3630e976
parent1bafd1eab0fe99e2a3e67b51c00a0da6f9e51767
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/cfe/trunk@305227 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGen/dependent-lib.c
test/CodeGen/linker-option.c
test/CodeGen/pragma-comment.c
test/CodeGen/pragma-detect_mismatch.c
test/CodeGenCXX/ms-thread_local.cpp
test/CodeGenObjC/availability-cf-link-guard.m
test/Modules/autolink.m
test/Modules/autolinkTBD.m
test/Modules/module-impl-with-link.c