Skip to content

Commit

Permalink
only add comdat when using MSVC to work around linker limitation
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jun 21, 2016
1 parent 02ac2b1 commit 1069aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jitlayers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ ExecutionEngine *jl_ExecutionEngine;
template<class T> // for GlobalObject's
static T *addComdat(T *G)
{
#if defined(_OS_WINDOWS_)
#if defined(_OS_WINDOWS_) && defined(_COMPILER_MICROSOFT_)
if (imaging_mode && !G->isDeclaration()) {
#ifdef LLVM35
// Add comdat information to make MSVC link.exe happy
Expand Down

2 comments on commit 1069aae

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @jrevels

Please sign in to comment.