[llvm-bugs] [Bug 27488] New: [StructurizeCFG] lit test hits assert in verifyDomTree when compiled w/ XDEBUG

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 22 12:34:06 PDT 2016


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

            Bug ID: 27488
           Summary: [StructurizeCFG] lit test hits assert in verifyDomTree
                    when compiled w/ XDEBUG
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: gberry at codeaurora.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The following lit tests hit an assert in verifyDomTree when LLVM is compiled w/
XDEBUG:

    LLVM :: Transforms/StructurizeCFG/no-branch-to-entry.ll

Ouput:

/local/mnt/gberry/test/build-xdbg/llvm/./bin/opt -S -o - -structurizecfg <
/local/mnt/gberry/test/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll
| /local/mnt/gberry/test/build-xdbg/llvm/./bin/FileCheck
/local/mnt/gberry/test/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll
--
Exit Code: 2

Command Output (stderr):
--
DominatorTree is not up to date!
Computed:
=============================--------------------------------
Inorder Dominator Tree: DFSNumbers invalid: 24 slow queries.
  [1] %entry.orig {0,5}
    [2] %for.body {3,4}
    [2] %Flow {4294967295,4294967295}
      [3] %for.end {1,2}

Actual:
=============================--------------------------------
Inorder Dominator Tree: 
  [1] %entry {0,9}
    [2] %entry.orig {1,8}
      [3] %for.body {2,3}
      [3] %Flow {4,7}
        [4] %for.end {5,6}
#0 0x00000000017f7158 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x17f7158)
#1 0x00000000017f5946 llvm::sys::RunSignalHandlers()
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x17f5946)
#2 0x00000000017f7c86 SignalHandler(int)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x17f7c86)
#3 0x00007f7b8cd70cb0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xfcb0)
#4 0x00007f7b8bf350d5 gsignal
/build/eglibc-rrybNj/eglibc-2.15/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:64:0
#5 0x00007f7b8bf3883b abort
/build/eglibc-rrybNj/eglibc-2.15/stdlib/abort.c:93:0
#6 0x00000000013dd53a llvm::DominatorTree::verifyDomTree() const
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x13dd53a)
#7 0x0000000001414f69 llvm::PMDataManager::verifyPreservedAnalysis(llvm::Pass*)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1414f69)
#8 0x000000000107770a llvm::RGPassManager::runOnFunction(llvm::Function&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x107770a)
#9 0x0000000001418698 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1418698)
#10 0x00000000014188db llvm::FPPassManager::runOnModule(llvm::Module&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x14188db)
#11 0x0000000001418d98 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x1418d98)
#12 0x000000000063b74e main
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x63b74e)
#13 0x00007f7b8bf2076d __libc_start_main
/build/eglibc-rrybNj/eglibc-2.15/csu/libc-start.c:258:0
#14 0x0000000000626cad _start
(/local/mnt/gberry/test/build-xdbg/llvm/bin/opt+0x626cad)
Stack dump:
0.    Program arguments: /local/mnt/gberry/test/build-xdbg/llvm/./bin/opt -S -o
- -structurizecfg 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'Region Pass Manager' on function
'@no_branch_to_entry_undef'

-- 
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/20160422/1edf7080/attachment-0001.html>


More information about the llvm-bugs mailing list