[LLVMbugs] [Bug 23497] New: Regression in r233747 - [ExecutionEngine] Fix MCJIT::addGlobalMapping.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 12 10:56:32 PDT 2015


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: unassignedbugs at nondot.org
          Reporter: josh.klontz at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150512/81dc35ff/attachment.html>


More information about the llvm-bugs mailing list