https://llvm.org/bugs/show_bug.cgi?id=23497

            Bug ID: 23497
           Summary: Regression in r233747 - [ExecutionEngine] Fix
                    MCJIT::addGlobalMapping.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Generic Execution Engine Support
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This commit appears to cause a minor regression, hitting:
    assert(!Name.empty() && "getNameWithPrefix requires non-empty name");
when constructing an Interpreter whose Module contains unnamed global
variables:
    @0 = private unnamed_addr constant [4 x i8] c"bar\00"
Giving this global string constant a name fixes the problem:
    @foo = private unnamed_addr constant [4 x i8] c"bar\00"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to