diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-06-07 19:10:08 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-06-07 19:10:08 +0000 |
commit | e08e68de213008246cc2dba029cdff0548693b2c (patch) | |
tree | 33b369e7293406ad72dd326410e4dd1608574747 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ef57e50bd2b8151e06a459432838610c172d0512 (diff) | |
download | bcm5719-llvm-e08e68de213008246cc2dba029cdff0548693b2c.tar.gz bcm5719-llvm-e08e68de213008246cc2dba029cdff0548693b2c.zip |
Driver, IRGen: Set partitions on GlobalValues according to -fsymbol-partition flag.
Differential Revision: https://reviews.llvm.org/D62636
llvm-svn: 362829
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index ca0f2fc845a..1b475dc0370 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1345,6 +1345,8 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, Opts.PassPlugins = Args.getAllArgValues(OPT_fpass_plugin_EQ); + Opts.SymbolPartition = Args.getLastArgValue(OPT_fsymbol_partition_EQ); + return Success; } |