[PATCH] Keep track of the operator location of MemberExprs
Aaron Ballman
aaron at aaronballman.com
Tue Mar 24 07:36:16 PDT 2015
I think you may need to test your patch against a newer ToT; I am
getting a failed assertion:
55> Running the Clang regression tests
55> -- Testing: 8080 tests, 32 threads --
55> FAIL: Clang :: Modules/update-exception-spec.cpp (4140 of 8080)
55> ******************** TEST 'Clang ::
Modules/update-exception-spec.cpp' FAILED ********************
55> Script:
55> --
55> rm -rf E:\llvm\2013\tools\clang\test\Modules\Output\update-exception-spec.cpp.tmp
55> E:/llvm/2013/Debug/bin/clang.EXE -cc1 -internal-isystem
E:\llvm\2013\Debug\bin\..\lib\clang\3.7.0\include -nostdsysteminc
-fexceptions -fcxx-exceptions -fmodules
-fmodules-cache-path=E:\llvm\2013\tools\clang\test\Modules\Output\update-exception-spec.cpp.tmp
-IE:\llvm\llvm\tools\clang\test\Modules/Inputs/update-exception-spec
-emit-llvm-only
E:\llvm\llvm\tools\clang\test\Modules\update-exception-spec.cpp
55> --
55> Exit Code: -2147483645
55>
55> Command Output (stdout):
55> --
55> Command 0: "rm" "-rf"
"E:\llvm\2013\tools\clang\test\Modules\Output\update-exception-spec.cpp.tmp"
55> Command 0 Result: 0
55> Command 0 Output:
55>
55>
55> Command 0 Stderr:
55>
55>
55> Command 1: "E:/llvm/2013/Debug/bin/clang.EXE" "-cc1"
"-internal-isystem"
"E:\llvm\2013\Debug\bin\..\lib\clang\3.7.0\include" "-nostdsysteminc"
"-fexceptions" "-fcxx-exceptions" "-fmodules"
"-fmodules-cache-path=E:\llvm\2013\tools\clang\test\Modules\Output\update-exception-spec.cpp.tmp"
"-IE:\llvm\llvm\tools\clang\test\Modules/Inputs/update-exception-spec"
"-emit-llvm-only"
"E:\llvm\llvm\tools\clang\test\Modules\update-exception-spec.cpp"
55> Command 1 Result: -2147483645
55> Command 1 Output:
55>
55>
55> Command 1 Stderr:
55> Assertion failed: Index < TypesLoaded.size() && "Type index
out-of-range", file
E:\llvm\llvm\tools\clang\lib\Serialization\ASTReader.cpp, line 6049
55>
55> 0x01A4A389 (0x00000016 0x4D74CBFD 0x0659D050 0x0659CF74),
HandleAbort() + 0x9 bytes(s),
e:\llvm\llvm\lib\support\windows\signals.inc, line 289
55>
55> 0x0FA7F7F9 (0x00000016 0x01A4A380 0x0659CF60 0x0FA7A5F3), raise()
+ 0x2B9 bytes(s)
55>
55> 0x0FA8B284 (0x0659D050 0x0659CF74 0xCCCCCCCC 0xCCCCCCCC), abort()
+ 0x34 bytes(s)
55>
55> 0x0FA7A5F3 (0x051A2BB0 0x051A2B28 0x000017A1 0x0659D0E0),
_wassert() + 0xC03 bytes(s)
55>
55> 0x02AE5973 (0x0659D0D4 0x0000278C 0x069D88C8 0x0659D080),
clang::ASTReader::GetType() + 0x6C3 bytes(s),
e:\llvm\llvm\tools\clang\lib\serialization\astreader.cpp, line 6049 +
0x33 byte(s)
55>
55> 0x02AE5BBB (0x0659D0D4 0x06A62568 0x0000278C 0x0000000C),
clang::ASTReader::getLocalType() + 0x2B bytes(s),
e:\llvm\llvm\tools\clang\lib\serialization\astreader.cpp, line 6065 +
0x1D byte(s)
55>
55> 0x02B445C7 (0x0659D0D4 0x06A62568 0x0659D85C 0x0659D850),
clang::ASTReader::readType() + 0x67 bytes(s),
e:\llvm\llvm\tools\clang\include\clang\serialization\astreader.h, line
1618 + 0x34 byte(s)
55>
55> 0x02AE51C3 (0x06A62568 0x0659D85C 0x0659D850 0x00000001),
clang::ASTReader::GetTypeSourceInfo() + 0x33 bytes(s),
e:\llvm\llvm\tools\clang\lib\serialization\astreader.cpp, line 5962
55>
55> 0x02AECAE9 (0x06A62568 0x069D5A9C 0x069D5A13 0x0659D85C),
clang::ASTReader::ReadDeclarationNameLoc() + 0x59 bytes(s),
e:\llvm\llvm\tools\clang\lib\serialization\astreader.cpp, line 7757 +
0x14 byte(s)
55>
55> 0x02BB3F3A (0x06A62568 0xCCCCCCCC 0x06A62568 0xCCCCCCCC),
clang::ASTReader::ReadStmtFromStream() + 0x138A bytes(s),
e:\llvm\llvm\tools\clang\lib\serialization\astreaderstmt.cpp, line
2461
55>
55> 0x02AE6B0A (0x00216B87 0x00000000 0x0659DB24 0x03668342),
clang::ASTReader::GetExternalDeclStmt() + 0x6A bytes(s),
e:\llvm\llvm\tools\clang\lib\serialization\astreader.cpp, line 6441
55>
55> 0x036693C8 (0x069D88D4 0x069D5490 0x0659DB1C 0x03669506),
clang::LazyOffsetPtr<clang::Stmt,unsigned
__int64,{clang::ExternalASTSource::`vcall'{16}',0}>::get() + 0x88
bytes(s), e:\llvm\llvm\tools\clang\include\clang\ast\externalastsource.h,
line 373 + 0x2A byte(s)
55>
55> 0x0365B2A6 (0x0659DB10 0xCCCCCCCC 0x069D5490 0xCCCCCCCC),
clang::FunctionDecl::getBody() + 0x56 bytes(s),
e:\llvm\llvm\tools\clang\lib\ast\decl.cpp, line 2393 + 0x1D byte(s)
55>
55> 0x03669506 (0x0659E260 0x0659E3BC 0xCCCCCCCC 0xCCCCCCCC),
clang::FunctionDecl::getBody() + 0x26 bytes(s),
e:\llvm\llvm\tools\clang\include\clang\ast\decl.h, line 1717
55>
55> 0x02198A24 (0x069D5490 0x08F5BA10 0x08F80588 0x0659E2C4),
clang::CodeGen::CodeGenFunction::GenerateCode() + 0x214 bytes(s),
e:\llvm\llvm\tools\clang\lib\codegen\codegenfunction.cpp, line 832 +
0xF byte(s)
55>
55> 0x0205BAAF (0x069D5490 0x08F5BA10 0x0659E348 0x0659E3BC),
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition() + 0x37F
bytes(s), e:\llvm\llvm\tools\clang\lib\codegen\codegenmodule.cpp, line
2476 + 0x2C byte(s)
55>
55> 0x0205B68C (0x069D5490 0x08F5BA10 0x0659E3A4 0x0659E3BC),
clang::CodeGen::CodeGenModule::EmitGlobalDefinition() + 0x1AC
bytes(s), e:\llvm\llvm\tools\clang\lib\codegen\codegenmodule.cpp, line
1533 + 0x10 byte(s)
55>
55> 0x0205D348 (0x0659E408 0x0659E3BC 0xCCCCCCCC 0xCCCCCCCC),
clang::CodeGen::CodeGenModule::EmitDeferred() + 0x1A8 bytes(s),
e:\llvm\llvm\tools\clang\lib\codegen\codegenmodule.cpp, line 1134
55>
55> 0x02053FE4 (0x069D5B78 0x0659E408 0x0202D5D0 0x069C8718),
clang::CodeGen::CodeGenModule::Release() + 0x24 bytes(s),
e:\llvm\llvm\tools\clang\lib\codegen\codegenmodule.cpp, line 345
55>
55> 0x02051D86 (0x069C8718 0x0659E498 0x0659E414 0xCCCCCCCC),
`anonymous namespace'::CodeGeneratorImpl::HandleTranslationUnit() +
0x86 bytes(s), e:\llvm\llvm\tools\clang\lib\codegen\modulebuilder.cpp,
line 206
55>
55> 0x0202D5D0 (0x069C8718 0x0659E698 0x0659E4A8 0x06A193B8),
clang::BackendConsumer::HandleTranslationUnit() + 0x60 bytes(s),
e:\llvm\llvm\tools\clang\lib\codegen\codegenaction.cpp, line 130 +
0x21 byte(s)
55>
55> 0x02A33F6A (0x06A02F98 0x00000000 0x00000000 0x0659E6A0),
clang::ParseAST() + 0x23A bytes(s),
e:\llvm\llvm\tools\clang\lib\parse\parseast.cpp, line 151 + 0x18
byte(s)
55>
55> 0x01CEE8F1 (0x0659E71C 0x0659E6A0 0xCCCCCCCC 0xCCCCCCCC),
clang::ASTFrontendAction::ExecuteAction() + 0x101 bytes(s),
e:\llvm\llvm\tools\clang\lib\frontend\frontendaction.cpp, line 538 +
0x30 byte(s)
55>
55> 0x02029DB7 (0x0659E6C8 0xCCCCCCCC 0xCCCCCCCC 0xCCCCCCCC),
clang::CodeGenAction::ExecuteAction() + 0x3D7 bytes(s),
e:\llvm\llvm\tools\clang\lib\codegen\codegenaction.cpp, line 734
55>
55> 0x01CEE4DE (0x0659E7C0 0x00000000 0xCCCCCCCC 0xCCCCCCCC),
clang::FrontendAction::Execute() + 0x7E bytes(s),
e:\llvm\llvm\tools\clang\lib\frontend\frontendaction.cpp, line 439 +
0xF byte(s)
55>
55> 0x01CA9B91 (0x069AC658 0x0659ECC8 0x00000000 0xCCCCCCCC),
clang::CompilerInstance::ExecuteAction() + 0x2A1 bytes(s),
e:\llvm\llvm\tools\clang\lib\frontend\compilerinstance.cpp, line 807
55>
55> 0x01DFF3CE (0x06996788 0x0659FA78 0xCCCCCCCC 0xCCCCCCCC),
clang::ExecuteCompilerInvocation() + 0x30E bytes(s),
e:\llvm\llvm\tools\clang\lib\frontendtool\executecompilerinvocation.cpp,
line 222 + 0x11 byte(s)
55>
55> 0x006FC682 (0x0659F660 0x0000000A 0x069A6028 0x00191384),
cc1_main() + 0x302 bytes(s),
e:\llvm\llvm\tools\clang\tools\driver\cc1_main.cpp, line 110 + 0xE
byte(s)
55>
55> 0x006E9B98 (0x0659F658 0x0000000C 0x069A604D 0x00000000),
ExecuteCC1Tool() + 0x78 bytes(s),
e:\llvm\llvm\tools\clang\tools\driver\driver.cpp, line 369 + 0x2B
byte(s)
55>
55> 0x006E9F35 (0x0000000C 0x06994930 0x0698F368 0x415DF194), main()
+ 0x2F5 bytes(s), e:\llvm\llvm\tools\clang\tools\driver\driver.cpp,
line 415 + 0x33 byte(s)
55>
55> 0x03973159 (0x0659FADC 0x768C338A 0x7EFDE000 0x0659FB1C),
__tmainCRTStartup() + 0x199 bytes(s),
f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 626 + 0x19 byte(s)
55>
55> 0x0397329D (0x7EFDE000 0x0659FB1C 0x77BE9F72 0x7EFDE000),
mainCRTStartup() + 0xD bytes(s),
f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 466
55>
55> 0x768C338A (0x7EFDE000 0x7BE3F84F 0x00000000 0x00000000),
BaseThreadInitThunk() + 0x12 bytes(s)
55>
55> 0x77BE9F72 (0x03973290 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x63 bytes(s)
55>
55> 0x77BE9F45 (0x03973290 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x36 bytes(s)
55>
55>
55>
55>
55> --
55>
55> ********************
55>
55> Testing Time: 137.68s
55> ********************
55> Failing Tests (1):
55> Clang :: Modules/update-exception-spec.cpp
55>
55> Expected Passes : 8000
55> Expected Failures : 20
55> Unsupported Tests : 59
55> Unexpected Failures: 1
55> lit.py: lit.cfg:195: note: using clang: 'E:/llvm/2013/Debug/bin/clang.EXE'
55> lit.py: lit.cfg:333: note: Did not find clang-interpreter in
E:/llvm/2013/Debug/bin;E:/llvm/2013/Debug/bin
55>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5):
error MSB6006: "cmd.exe" exited with code 1.
========== Build: 54 succeeded, 1 failed, 153 up-to-date, 0 skipped ==========
~Aaron
On Tue, Mar 24, 2015 at 9:08 AM, Joe Ranieri <joe at alacatialabs.com> wrote:
> Ping again.
>
> -- Joe Ranieri
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list