summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceFileWriter.cpp
diff options
context:
space:
mode:
authorSunil Srivastava <sunil_srivastava@playstation.sony.com>2018-05-15 18:28:42 +0000
committerSunil Srivastava <sunil_srivastava@playstation.sony.com>2018-05-15 18:28:42 +0000
commit74f8d86f6bec09d083abf4755b476df7606bcb59 (patch)
tree4d96da0917d1c116149667fdcd8469f8cfbe1f85 /llvm/tools/llvm-rc/ResourceFileWriter.cpp
parentdf4fb5a87c1799ae515346ad56a88ec378f1f5ae (diff)
downloadbcm5719-llvm-74f8d86f6bec09d083abf4755b476df7606bcb59.tar.gz
bcm5719-llvm-74f8d86f6bec09d083abf4755b476df7606bcb59.zip
Fixed some rtti-options tests.
Certain tests in rtti-options.cpp are not really testing anything because they are testing for the absence of -frtti option to the cc1 process. Since the cc1 process does not take -frtti option, these tests are passing tautologically. The RTTI mode is enabled by default in cc1, and -fno-rtti disables it. Therefore the correct way to check for enabling of RTTI is to check for the absence of -fno-rtti to cc1, and the correct way to check for disabling of RTTI is to check for the presence of -fno-rtti to cc1. This patch fixes those tests. Differential Revision: https://reviews.llvm.org/D46836 llvm-svn: 332384
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceFileWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud