<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 --- - Assertion `LIsBuiltins && RIsBuiltins && "Non-built-in locations must be rooted in the main file"' failed."
   href="http://llvm.org/bugs/show_bug.cgi?id=16224">16224</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `LIsBuiltins && RIsBuiltins && "Non-built-in locations must be rooted in the main file"' failed.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.2
          </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>C++
          </td>
        </tr>

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

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

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The following error occurred while compiling via clang 3.2

clang++:
/local/taoz/toolchain/src/llvm-3.2/llvm/tools/clang/lib/Basic/SourceManager.cpp:1916:
bool clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation,
clang::SourceLocation) const: Assertion `LIsBuiltins && RIsBuiltins &&
"Non-built-in locations must be rooted in the main file"' failed.
0  clang++ 0x0a7eeae8
Stack dump:
0.    Program arguments: XXX
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'YYY.cpp'.

As the source file is really really huge can someone please explain what that
assertion means so that I can try to narrow the issue down.

Regards,
  Petko.</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>