diff options
author | Martell Malone <martellmalone@gmail.com> | 2017-02-28 23:43:26 +0000 |
---|---|---|
committer | Martell Malone <martellmalone@gmail.com> | 2017-02-28 23:43:26 +0000 |
commit | 6b43b7ad49927ef5fc521ef4aaaaeb64dd905507 (patch) | |
tree | 0721e1b888049df785947a11a22c6d239f50e59d /lld/include | |
parent | dccb4feff8e748c92fb8f8dd1ecb1bff1a6a12dc (diff) | |
download | bcm5719-llvm-6b43b7ad49927ef5fc521ef4aaaaeb64dd905507.tar.gz bcm5719-llvm-6b43b7ad49927ef5fc521ef4aaaaeb64dd905507.zip |
[ELF] - Allow the Code Model flag when using LTO
Differential Revision: https://reviews.llvm.org/D29445
llvm-svn: 296542
Diffstat (limited to 'lld/include')
-rw-r--r-- | lld/include/lld/Core/TargetOptionsCommandFlags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/include/lld/Core/TargetOptionsCommandFlags.h b/lld/include/lld/Core/TargetOptionsCommandFlags.h index f6cb91168de..9ba99d94b95 100644 --- a/lld/include/lld/Core/TargetOptionsCommandFlags.h +++ b/lld/include/lld/Core/TargetOptionsCommandFlags.h @@ -11,8 +11,10 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Support/CodeGen.h" #include "llvm/Target/TargetOptions.h" namespace lld { llvm::TargetOptions InitTargetOptionsFromCodeGenFlags(); +llvm::CodeModel::Model GetCodeModelFromCMModel(); } |