Merge branch 'llvm-rtti'
This commit is contained in:
@ -19,9 +19,13 @@ Required for Fail*:
|
|||||||
<http://akut.aspectc.org>. Make sure you use the 64-bit version if running
|
<http://akut.aspectc.org>. Make sure you use the 64-bit version if running
|
||||||
in a 64-bit environment.
|
in a 64-bit environment.
|
||||||
- optional:
|
- optional:
|
||||||
* LLVM 3.3 (needed for several importers in tools/import-trace)
|
* LLVM 3.3 or 3.4 (needed for several importers in tools/import-trace)
|
||||||
(compiles/links with 3.1 or 3.2, but fails to properly import information
|
(compiles/links with 3.1 or 3.2, but fails to properly import information
|
||||||
from ELF binaries not compiled with -ffunction-sections)
|
from ELF binaries not compiled with -ffunction-sections)
|
||||||
|
- configured with, e.g., --enable-optimized --disable-assertions
|
||||||
|
--disable-werror
|
||||||
|
- built with "make REQUIRES_RTTI=1" (the Debian/Ubuntu packages already
|
||||||
|
come built this way)
|
||||||
* a MySQL 5.0+ or MariaDB 5.1+ (MariaDB 5.5 recommended) server
|
* a MySQL 5.0+ or MariaDB 5.1+ (MariaDB 5.5 recommended) server
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -11,8 +11,7 @@ set(SRCS
|
|||||||
|
|
||||||
include(FindLLVM)
|
include(FindLLVM)
|
||||||
|
|
||||||
# compiling without -fno-rtti fails even when LLVM is not built with that flag
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LLVM_CXX_FLAGS}" )
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LLVM_CXX_FLAGS} -fno-rtti" )
|
|
||||||
|
|
||||||
add_library(fail-llvmdisassembler ${SRCS})
|
add_library(fail-llvmdisassembler ${SRCS})
|
||||||
target_link_libraries(fail-llvmdisassembler fail-sal)
|
target_link_libraries(fail-llvmdisassembler fail-sal)
|
||||||
|
|||||||
Reference in New Issue
Block a user