[LLVMbugs] [Bug 22925] New: DragonEgg 3.6 build failure

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 16 11:12:06 PDT 2015


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

            Bug ID: 22925
           Summary: DragonEgg 3.6 build failure
           Product: dragonegg
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: New Bugs
          Assignee: baldrick at free.fr
          Reporter: rcgorton at cognitive-electronics.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I'm hitting the following compilation error with dragonegg-3.6.0 && llvm-3.6.0
on Linux.


-bash-4.1$ make
Compiling Aliasing.cpp
/home/rcgorton/svn/Compiler/trunk/LLVM3_6/dragonegg-3.6.0.src/src/Aliasing.cpp:
In function ‘llvm::MDNode* describeAliasSet(tree)’:
/home/rcgorton/svn/Compiler/trunk/LLVM3_6/dragonegg-3.6.0.src/src/Aliasing.cpp:140:16:
error: ‘class llvm::MDNode’ has no member named ‘replaceAllUsesWith’
      LeafTag->replaceAllUsesWith(getTBAARoot());
               ^
make: *** [Aliasing.o] Error 1

--------
In LLVM3.5, MDNode is jointly derived from public Value, public FoldingSetNode;
the method replaceAllUsesWith() is part of class Value.

In LLVM3.6, MDNode is derived from public Metadata; the Metadata class does not
have such a method.

If I understand the LLVM3.6 release notes correctly, Metadata nodes do not have
use-lists, but the Aliasing.cpp code appears to require use lists. 
Unfortunately, I do not know enough about Metadata to be able to effect a
patch/fix.

-- 
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/20150316/e3f67a94/attachment.html>


More information about the llvm-bugs mailing list