Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Assertion `LIsBuiltins && RIsBuiltins && "Non-built-in locations must be rooted in the main file"' failed. #16223

Open Quuxplusone opened 11 years ago

Quuxplusone commented 11 years ago
Bugzilla Link PR16224
Status NEW
Importance P normal
Reported by Petko Padevski (ppadevski@gmail.com)
Reported on 2013-06-04 11:07:15 -0700
Last modified on 2013-06-04 14:32:25 -0700
Version 3.2
Hardware PC Linux
CC dgregor@apple.com, llvm-bugs@lists.llvm.org, rafael@espindo.la
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
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.
Quuxplusone commented 11 years ago
> 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.

I haven't seen this assertion before, but can you try delta or creduce on the
file?