1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/llvm-config
Tom Stellard 9c18b9c83d llvm-config: Add --has-rtti option
Summary:
This prints NO if LLVM was built with -fno-rtti or an equivalent flag
and YES otherwise.  The reasons to add -has-rtti rather than adding -fno-rtti
to --cxxflags are:

1. Building LLVM with -fno-rtti does not always mean that client
applications need this flag.

2. Some compilers have a different flag for disabling rtti, and the
compiler being used to build LLVM may not be the compiler being used to
build the application.

Reviewers: echristo, chandlerc, beanz

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11849

llvm-svn: 252075
2015-11-04 20:57:43 +00:00
..
BuildVariables.inc.in llvm-config: Add --has-rtti option 2015-11-04 20:57:43 +00:00
CMakeLists.txt llvm-config: Add --has-rtti option 2015-11-04 20:57:43 +00:00
llvm-config.cpp llvm-config: Add --has-rtti option 2015-11-04 20:57:43 +00:00
Makefile llvm-config: Add --has-rtti option 2015-11-04 20:57:43 +00:00