]> granicus.if.org Git - clang/commit
Fixed test failure platforms with name mangling different from Linux.
authorArtem Belevich <tra@google.com>
Wed, 2 Mar 2016 21:03:20 +0000 (21:03 +0000)
committerArtem Belevich <tra@google.com>
Wed, 2 Mar 2016 21:03:20 +0000 (21:03 +0000)
commitd18307be0be07c73383bd7198f826b9f70fca601
tree85eadc42ba922e64f7da6ddff4d4ba1f62ba4a3a
parent4ab430518d04e7d0d9604fbe40bb0b8cfe3b9780
Fixed test failure platforms with name mangling different from Linux.
* Run cc with -triple x86_64-linux-gnu to make symbol mangling predictable.
* Use temporary file as a fake GPU input so its content
  does not interfere with pattern matching.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262516 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGenCUDA/device-stub.cu