[Mesa-dev] [Bug 86958] lp_bld_misc.cpp:503:40: error: no matching function for call to ‘llvm?=::EngineBuilder::setMCJITMemoryManager(ShaderMemoryManager*&)=?UTF-8?Q?’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 28 03:53:12 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=86958

Chris Vine <chris at cvine.freeserve.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from Chris Vine <chris at cvine.freeserve.co.uk> ---
It looks as if there is another problem with this code with llvm-3.6.  The
ShaderMemoryManager object pointed to by MM is deleted at line 530, but if (i)
useMCJIT is false, and (ii) HAVE_LLVM >= 0x0306 (ie llvm >= 3.6), then MM is
never initialised and delete is being applied to a thin air value.

Either MM need to be initialized to 0 at its declaration, or initialized to 0
at line 517.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150228/f2b7b423/attachment.html>


More information about the mesa-dev mailing list