[LLVMbugs] [Bug 3278] New: ParseAssemblyString does not add definitions to the passed module anymore

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 2 06:23:35 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=3278

           Summary: ParseAssemblyString does not add definitions to the
                    passed module anymore
           Product: new-bugs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: cmdkeen at gmx.de
                CC: llvmbugs at cs.uiuc.edu


The behaviour of ParseAssemblyString changed between the LLVM 2.1 and 2.2
releases. Until 2.1 a call like this

Module* parsedModule = ParseAssemblyString( code, targetModule, &errorInfo );

added the globals, types and functions in code to targetModule. Since 2.2 this
does not happen anymore.

The documentation still states that targetModule is "A module to add the
assembly too.".

Also see this thread
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-December/018994.html


-- 
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