Skip to content

Commit e18683d

Browse files
authored
Fix typo in recent msan PR (JuliaLang#46421)
JuliaLang#46348 (comment)
1 parent 079ed73 commit e18683d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cgmemmgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ uint8_t *RTDyldMemoryManagerJL::allocateCodeSection(uintptr_t Size,
856856
StringRef SectionName)
857857
{
858858
// allocating more than one code section can confuse libunwind.
859-
#if defined(_COMPILER_MSAN_ENABLED_)
859+
#if !defined(_COMPILER_MSAN_ENABLED_)
860860
// TODO: Figure out why msan needs this.
861861
assert(!code_allocated);
862862
code_allocated = true;

0 commit comments

Comments
 (0)