<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - sanitizer_platform_limits_posix.cc:182:26: error: use of undeclared identifier 'PTRACE_GETREGSET'"
   href="http://llvm.org/bugs/show_bug.cgi?id=16488">16488</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>sanitizer_platform_limits_posix.cc:182:26: error: use of undeclared identifier 'PTRACE_GETREGSET'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With top of tree (R185245), freshly updated llvm, clang, compiler-rt,
clang-extras, and plain 'cd build; ../configure; make"

make[5]: Entering directory `/home/wald/Projects/llvm/projects/compiler-rt'
  COMPILE:   clang_linux/san-x86_64/x86_64:
/home/wald/Projects/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc
/home/wald/Projects/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:182:26:
error: use of undeclared identifier 'PTRACE_GETREGSET'; did
      you mean 'PTRACE_GETREGS'?
  int ptrace_getregset = PTRACE_GETREGSET;
                         ^~~~~~~~~~~~~~~~
                         PTRACE_GETREGS
/usr/include/sys/ptrace.h:75:4: note: 'PTRACE_GETREGS' declared here
   PTRACE_GETREGS = 12,
   ^
/home/wald/Projects/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:183:26:
error: use of undeclared identifier 'PTRACE_SETREGSET'; did
      you mean 'PTRACE_SETREGS'?
  int ptrace_setregset = PTRACE_SETREGSET;
                         ^~~~~~~~~~~~~~~~
                         PTRACE_SETREGS
/usr/include/sys/ptrace.h:80:4: note: 'PTRACE_SETREGS' declared here
   PTRACE_SETREGS = 13,
   ^
2 errors generated.

wald@w510 ~/Projects/llvm/build $ uname -a
Linux w510.localdomain 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
wald@w510 ~/Projects/llvm/build $ g++ --version
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</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>