<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Broken test with a release build: debuginfo-tests :: llvm-prettyprinters/gdb/llvm-support.gdb"
   href="https://bugs.llvm.org/show_bug.cgi?id=45652">45652</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Broken test with a release build: debuginfo-tests :: llvm-prettyprinters/gdb/llvm-support.gdb
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DebugInfo
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tbosch1009@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, keith.walker@arm.com, llvm-bugs@lists.llvm.org, paul_robinson@playstation.sony.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The test llvm-prettyprinters/gdb/llvm-support.gdb in debuginfo-tests seems to
be broken when llvm is configured to use release builds.

This is most probably due to the fact that the used binary
llvm-prettyprinters/gdb/llvm-support.cpp doesn't contain debug symbols in this
case.

The failure is below:


FAIL: debuginfo-tests :: llvm-prettyprinters/gdb/llvm-support.gdb (22 of 55)
******************** TEST 'debuginfo-tests ::
llvm-prettyprinters/gdb/llvm-support.gdb' FAILED ********************
Script:
--
: 'RUN: at line 1';   gdb -q -batch -n -iex 'source
/usr/local/google/home/tbosch/llvm-project/llvm/utils/gdb-scripts/prettyprinters.py'
-x
/usr/local/google/home/tbosch/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
/usr/local/google/home/tbosch/llvm-project/build/./bin/check-gdb-llvm-support |
/usr/local/google/home/tbosch/llvm-project/build/bin/FileCheck
/usr/local/google/home/tbosch/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
--dump-input-on-failure
--
Exit Code: 1

Command Output (stderr):
--
gdb: warning: Couldn't determine a path for the index cache directory.
/usr/local/google/home/tbosch/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb:7:
Error in sourced command file:
No symbol "ArrayRef" in current context.
/usr/local/google/home/tbosch/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb:6:10:
error: CHECK: expected string not found in input
# CHECK: llvm::ArrayRef of length 3 = {1, 2, 3}
         ^
<stdin>:1:1: note: scanning from here
Breakpoint 1 at 0x4440
^

Input file: <stdin>
Check file:
/usr/local/google/home/tbosch/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb

-dump-input=help describes the format of the following dump.

Full input was:
<<<<<<
         1: Breakpoint 1 at 0x4440
check:6     X~~~~~~~~~~~~~~~~~~~~~ error: no match found
         2: [Thread debugging using libthread_db enabled]
check:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         3: Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
check:6    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         4:
check:6     ~
         5: Breakpoint 1, 0x0000555555558440 in main ()
check:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<span class="quote">>>>>>></span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>