[LLVMbugs] [Bug 8600] New: Crash on ExecutionEngine::addGlobalMapping()

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Nov 13 23:51:48 PST 2010


           Summary: Crash on ExecutionEngine::addGlobalMapping()
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mpnk121 at live.com
                CC: llvmbugs at cs.uiuc.edu

On MSVC 2008 I get a crash with while calling ExecutionEngine::addGlobalMapping
(as seen below), in 2.7, 2.8 and trunk.
It throws an unhandled exception (an access violation) seemingly at

Reduced test case:

void foo() { }
int main() {
  ExecutionEngine *jitengine =
  Function *func = Function::Create(TypeBuilder<void(),
false>::get(getGlobalContext()), GlobalValue::ExternalLinkage, "foo");
  jitengine->addGlobalMapping(func, (void*)foo);

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list