[cfe-commits] r127617 - in /cfe/trunk: lib/CodeGen/CGException.cpp test/CXX/except/except.spec/p9-dynamic.cpp test/CXX/except/except.spec/p9-noexcept.cpp

Francois Pichet pichet2000 at gmail.com
Mon Mar 14 16:19:08 PDT 2011


On Mon, Mar 14, 2011 at 4:33 PM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
> Author: cornedbee
> Date: Mon Mar 14 15:33:20 2011
> New Revision: 127617
>
> URL: http://llvm.org/viewvc/llvm-project?rev=127617&view=rev
> Log:
> Code generation for noexcept.
>
> Added:
>    cfe/trunk/test/CXX/except/except.spec/p9-dynamic.cpp
>    cfe/trunk/test/CXX/except/except.spec/p9-noexcept.cpp

Hi, these two tests fail on MSVC 2010. any idea why?


here the log:

3>  FAIL: Clang :: CXX/except/except.spec/p9-noexcept.cpp (174 of 368)
3>  ******************** TEST 'Clang ::
CXX/except/except.spec/p9-noexcept.cpp' FAILED ********************
3>  Script:
3>  --
3>  C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE -cc1
C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-noexcept.cpp
-std=c++0x -triple=x86_64-apple-darwin10 -emit-llvm -o -
-fcxx-exceptions -fexceptions | FileCheck
C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-noexcept.cpp
3>  --
3>  Exit Code: 1
3>  Command Output (stdout):
3>  --
3>  Command 0: "C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE" "-cc1"
"C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-noexcept.cpp"
"-std=c++0x" "-triple=x86_64-apple-darwin10" "-emit-llvm" "-o" "-"
"-fcxx-exceptions" "-fexceptions"
3>  Command 0 Result: 0
3>  Command 0 Output:
3>
3>
3>  Command 0 Stderr:
3>
3>
3>  Command 1: "FileCheck"
"C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-noexcept.cpp"
3>  Command 1 Result: 1
3>  Command 1 Output:
3>
3>
3>  Command 1 Stderr:
3>  C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-noexcept.cpp:10:11:
error: expected string not found in input
3>  // CHECK: terminate.lpad:
3>            ^
3>  <stdin>:7:2: note: scanning from here
3>   to label %1 unwind label %2
3>   ^
3>  <stdin>:15:18: note: possible intended match here
3>   call void @_ZSt9terminatev() noreturn nounwind
3>                   ^
3>
3>
3>  --
3>
3>  ********************
3>  FAIL: Clang :: CXX/except/except.spec/p9-dynamic.cpp (176 of 368)
3>  ******************** TEST 'Clang ::
CXX/except/except.spec/p9-dynamic.cpp' FAILED ********************
3>  Script:
3>  --
3>  C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE -cc1
C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-dynamic.cpp
-triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions
-fexceptions | FileCheck
C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-dynamic.cpp
3>  --
3>  Exit Code: 1
3>  Command Output (stdout):
3>  --
3>  Command 0: "C:/dev/llvm/llvm_trunk/bin/Release/clang.EXE" "-cc1"
"C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-dynamic.cpp"
"-triple=x86_64-apple-darwin10" "-emit-llvm" "-o" "-"
"-fcxx-exceptions" "-fexceptions"
3>  Command 0 Result: 0
3>  Command 0 Output:
3>
3>
3>  Command 0 Stderr:
3>
3>
3>  Command 1: "FileCheck"
"C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-dynamic.cpp"
3>  Command 1 Result: 1
3>  Command 1 Output:
3>
3>
3>  Command 1 Stderr:
3>  C:\dev\llvm\llvm_trunk\tools\clang\test\CXX\except\except.spec\p9-dynamic.cpp:10:11:
error: expected string not found in input
3>  // CHECK: %eh.selector = call i32 (i8*, i8*, ...)*
@llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)*
@__gxx_personality_v0 to i8*), i32 2, i8* bitcast (i8** @_ZTIi to
i8*), i8* null) nounwind
3>            ^
3>  <stdin>:10:2: note: scanning from here
3>   to label %2 unwind label %3
3>   ^
3>  <stdin>:18:2: note: possible intended match here
3>   %5 = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %4, i8*
bitcast (i32 (...)* @__gxx_personality_v0 to i8*), i32 2, i8* bitcast
(i8** @_ZTIi to i8*), i8* null) nounwind
3>   ^
3>
3>
3>  --
3>
3>  ********************
3>
3>  Testing Time: 3.53s
3>  ********************
3>  Failing Tests (2):
3>      Clang :: CXX/except/except.spec/p9-dynamic.cpp
3>      Clang :: CXX/except/except.spec/p9-noexcept.cpp




More information about the cfe-commits mailing list