summaryrefslogtreecommitdiffstats
path: root/lld/include
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-06-07 06:05:26 +0000
committerSam Clegg <sbc@chromium.org>2019-06-07 06:05:26 +0000
commit53211aa9f130ce307c86698953e09746d70a6ef1 (patch)
treee6e539ecffed092b46156dbca756c5b499a29947 /lld/include
parentfd54fa5d72d5cbe076419ad31b36c19ddfc1ed33 (diff)
downloadbcm5719-llvm-53211aa9f130ce307c86698953e09746d70a6ef1.tar.gz
bcm5719-llvm-53211aa9f130ce307c86698953e09746d70a6ef1.zip
[lld] Allow args::getInterger to parse args larger than 2^31-1
Differential Revision: https://reviews.llvm.org/D62933 llvm-svn: 362770
Diffstat (limited to 'lld/include')
-rw-r--r--lld/include/lld/Common/Args.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/include/lld/Common/Args.h b/lld/include/lld/Common/Args.h
index d94364668a0..cf8002da3da 100644
--- a/lld/include/lld/Common/Args.h
+++ b/lld/include/lld/Common/Args.h
@@ -25,7 +25,8 @@ namespace args {
llvm::CodeGenOpt::Level getCGOptLevel(int OptLevelLTO);
-int getInteger(llvm::opt::InputArgList &Args, unsigned Key, int Default);
+int64_t getInteger(llvm::opt::InputArgList &Args, unsigned Key,
+ int64_t Default);
std::vector<StringRef> getStrings(llvm::opt::InputArgList &Args, int Id);
OpenPOWER on IntegriCloud