From 522e6196f77a8fae8d20646a176426c2987e732f Mon Sep 17 00:00:00 2001 From: Ikhlas Ajbar Date: Thu, 14 May 2015 13:52:08 +0000 Subject: Factor out SmallDataThreshold This patch factors out SmallDataThreshold code. llvm-svn: 237364 --- clang/lib/Driver/ToolChains.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/lib/Driver/ToolChains.h') diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h index 388dff37b53..8906e2101ea 100644 --- a/clang/lib/Driver/ToolChains.h +++ b/clang/lib/Driver/ToolChains.h @@ -724,6 +724,10 @@ public: const llvm::opt::ArgList &Args); static StringRef GetTargetCPU(const llvm::opt::ArgList &Args); + + static const char *GetSmallDataThreshold(const llvm::opt::ArgList &Args); + + static bool UsesG0(const char* smallDataThreshold); }; class LLVM_LIBRARY_VISIBILITY NaCl_TC : public Generic_ELF { -- cgit v1.2.3