diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 06:49:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 06:49:46 +0000 |
commit | 7ba0661f270219546aa3729fc676112a754d0b3a (patch) | |
tree | 24f286835f3eeee18aa4cd2eac1ef584ae1bfc1b /llvm/include/llvm-c/Core.h | |
parent | 9eb76d47f248ea89b4b3c8af7f255a9a6b34ba64 (diff) | |
download | bcm5719-llvm-7ba0661f270219546aa3729fc676112a754d0b3a.tar.gz bcm5719-llvm-7ba0661f270219546aa3729fc676112a754d0b3a.zip |
Stop building RTTI information for *most* llvm libraries. Notable
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
llvm-svn: 94164
Diffstat (limited to 'llvm/include/llvm-c/Core.h')
-rw-r--r-- | llvm/include/llvm-c/Core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h index 7824729f311..d57c250fcb2 100644 --- a/llvm/include/llvm-c/Core.h +++ b/llvm/include/llvm-c/Core.h @@ -1007,7 +1007,7 @@ namespace llvm { \ template<typename T> \ inline T *unwrap(ref P) { \ - T *Q = dynamic_cast<T*>(unwrap(P)); \ + T *Q = (T*)unwrap(P); \ assert(Q && "Invalid cast!"); \ return Q; \ } |