diff options
| author | Rong Xu <xur@google.com> | 2016-05-10 17:45:33 +0000 |
|---|---|---|
| committer | Rong Xu <xur@google.com> | 2016-05-10 17:45:33 +0000 |
| commit | b6211a0b4f9a6f9a15b86a62594385771500c5d9 (patch) | |
| tree | 5b4fa48b06565ebcaecaa28203ef8d89cdb3cb24 /llvm/lib/Transforms/Instrumentation | |
| parent | 8179be4897db025dd7256bbee7c0d9e5794a2b34 (diff) | |
| download | bcm5719-llvm-b6211a0b4f9a6f9a15b86a62594385771500c5d9.tar.gz bcm5719-llvm-b6211a0b4f9a6f9a15b86a62594385771500c5d9.zip | |
[PGO] resubmit r268969
Put the test into a target specific directory.
llvm-svn: 269090
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
| -rw-r--r-- | llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp index 90d4ba07abf..ef496840fab 100644 --- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp +++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp @@ -775,7 +775,7 @@ static void createIRLevelProfileFlagVariable(Module &M) { IRLevelVersionVariable->setVisibility(GlobalValue::DefaultVisibility); Triple TT(M.getTargetTriple()); if (TT.isOSBinFormatMachO()) - IRLevelVersionVariable->setLinkage(GlobalValue::LinkOnceODRLinkage); + IRLevelVersionVariable->setLinkage(GlobalValue::LinkOnceAnyLinkage); else IRLevelVersionVariable->setComdat(M.getOrInsertComdat( StringRef(INSTR_PROF_QUOTE(IR_LEVEL_PROF_VERSION_VAR)))); |

