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)
commit3609085dc46ea1bf07e31bc7d59ac033645586ab
treebb0661923678cec7ccac6b9f1afe1b230c61bde7
parent9c6f1538cc0f70fe43d47cf818ad797c82b61d5f
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.

llvm-svn: 262516
clang/test/CodeGenCUDA/device-stub.cu