[cfe-commits] r133226 - in /cfe/trunk: lib/CodeGen/CGStmt.cpp test/CodeGen/arm-asm-variable.c

Eric Christopher echristo at apple.com
Thu Jun 16 21:11:17 PDT 2011


On Jun 16, 2011, at 9:08 PM, Francois Pichet wrote:

> this fails under MSVC 2010
> any idea?

1>  C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c:23:12:
error: expected string not found in input
1>   // CHECK: %0 = call %0 asm sideeffect "ldrexd$0, $1, [$2]",
"={r1},={r2},r,~{memory}"(i64* %tmp)
1>             ^
1>  <stdin>:1:1: note: scanning from here
1>  ; ModuleID =
'C:\dev\llvm\llvm_trunk2\tools\clang\test\CodeGen\arm-asm-variable.c'
1>  ^
1>  <stdin>:17:2: note: possible intended match here
1>   %4 = call %0 asm sideeffect "ldrexd$0, $1, [$2]",
"={r1},={r2},r,~{memory}"(i64* %3) nounwind, !srcloc !0
1>   ^

Looks like debug mode under windows doesn't have variable names? Could try cutting the match off at "r2}" (which should be fine for the test) and make sure it works?

-eric



More information about the cfe-commits mailing list