Add -frtti to tests that need rtti

llvm-svn: 229184
This commit is contained in:
Filipe Cabecinhas 2015-02-13 23:19:23 +00:00
parent 84c09a51e9
commit 22bba5dd4b
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// RUN: %clangxx -fsanitize=vptr -fno-sanitize-recover=vptr -g %s -O3 -o %t
// RUN: %clangxx -frtti -fsanitize=vptr -fno-sanitize-recover=vptr -g %s -O3 -o %t
// RUN: not %run %t 2>&1 | FileCheck %s
// FIXME: This test produces linker errors on Darwin.

View File

@ -1,4 +1,4 @@
// RUN: %clangxx -fsanitize=vptr -g %s -O3 -o %t
// RUN: %clangxx -frtti -fsanitize=vptr -g %s -O3 -o %t
// RUN: %run %t rT && %run %t mT && %run %t fT && %run %t cT
// RUN: %run %t rU && %run %t mU && %run %t fU && %run %t cU
// RUN: %run %t rS && %run %t rV && %run %t oV