commit | e08e68de213008246cc2dba029cdff0548693b2c | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Fri Jun 07 19:10:08 2019 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Fri Jun 07 19:10:08 2019 +0000 |
tree | 33b369e7293406ad72dd326410e4dd1608574747 | |
parent | ef57e50bd2b8151e06a459432838610c172d0512 [diff] |
Driver, IRGen: Set partitions on GlobalValues according to -fsymbol-partition flag. Differential Revision: https://reviews.llvm.org/D62636 llvm-svn: 362829
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index ca0f2fc..1b475dc 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1345,6 +1345,8 @@ Opts.PassPlugins = Args.getAllArgValues(OPT_fpass_plugin_EQ); + Opts.SymbolPartition = Args.getLastArgValue(OPT_fsymbol_partition_EQ); + return Success; }