<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 - Memory sanitizer false positive when calling statx"
   href="https://bugs.llvm.org/show_bug.cgi?id=34738">34738</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory sanitizer false positive when calling statx
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm@bobbyperu.info
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>statx() is a new syscall, you'll need Linux 4.11 at least

See attached testcase

$ clang -fsanitize=memory a.cpp 
$ ./a.out 
==29565==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55a58b5b7775 in main (/data/secured/home/serj/a.out+0x93775)
    #1 0x7fa5e39a3f69 in __libc_start_main (/usr/lib/libc.so.6+0x20f69)
    #2 0x55a58b53e369 in _start (/data/secured/home/serj/a.out+0x1a369)

SUMMARY: MemorySanitizer: use-of-uninitialized-value</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>