Adjust test to only compile and not link

Compilation is all that's needed here - linking helped avoid certain
false positives in llvm-dwarfdump --verify related to overlapping
functions when those functions were actually in distinct sections.
That's since been fixed, so we can adjust the test to only compile, and
not link.
This commit is contained in:
David Blaikie 2021-10-28 18:09:40 -07:00
parent 2aa3b56339
commit fcd6d56602
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,5 @@
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: %clang -fblocks %s -o %t/a.out -g -Xclang -gsimple-template-names=mangled -Xclang -debug-forward-template-params
// RUN: llvm-dwarfdump %t/a.out --verify
// RUN: %clang %s -c -o - -g -Xclang -gsimple-template-names=mangled -Xclang -debug-forward-template-params \
// RUN: | llvm-dwarfdump --verify -
// REQUIRES: native
template<typename ...Ts>
struct t1 {