summaryrefslogtreecommitdiffstats
path: root/lld/include
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-11-01 20:02:49 +0000
committerFangrui Song <maskray@google.com>2018-11-01 20:02:49 +0000
commitccfc8415c29a9e04929422b4577fdddb3292da9d (patch)
tree33986689000e1f1597f5c7a6a27bd5d8caf72c39 /lld/include
parent4af6025f09aadee25c024da32d07cd4a06076770 (diff)
downloadbcm5719-llvm-ccfc8415c29a9e04929422b4577fdddb3292da9d.tar.gz
bcm5719-llvm-ccfc8415c29a9e04929422b4577fdddb3292da9d.zip
Set MAttrs in LTO mode
Summary: Without this patch, MAttrs are not set. Patch by Yin Ma Reviewers: espindola, MaskRay, ruiu, pcc Reviewed By: MaskRay, pcc Subscribers: pcc, emaste, sbc100, inglorion, arichardson, aheejin, steven_wu, llvm-commits Differential Revision: https://reviews.llvm.org/D53446 llvm-svn: 345884
Diffstat (limited to 'lld/include')
-rw-r--r--lld/include/lld/Common/TargetOptionsCommandFlags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/include/lld/Common/TargetOptionsCommandFlags.h b/lld/include/lld/Common/TargetOptionsCommandFlags.h
index 8443b184aa7..2eaecb72759 100644
--- a/lld/include/lld/Common/TargetOptionsCommandFlags.h
+++ b/lld/include/lld/Common/TargetOptionsCommandFlags.h
@@ -19,4 +19,5 @@ namespace lld {
llvm::TargetOptions InitTargetOptionsFromCodeGenFlags();
llvm::Optional<llvm::CodeModel::Model> GetCodeModelFromCMModel();
std::string GetCPUStr();
+std::vector<std::string> GetMAttrs();
}
OpenPOWER on IntegriCloud