add build option -rdynamic in CMakeList.txt (#3632)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2020-09-08 09:59:11 +08:00 committed by GitHub
parent 7fede6ffc1
commit c95d77a3a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -36,8 +36,8 @@ Please mark all changes in change log and use the issue from GitHub
- \#3446 ListIDInSegment get wrong result when delete more than one ids
- \#3448 RHNSWFlatTest failed
- \#3453 Fix server crashed during stability test
- \#3490 Fix ut DBTest.DeleteEntitiesTest assert fail
- \#3482 Server crashed during adding entities
- \#3490 Fix ut DBTest.DeleteEntitiesTest assert fail
- \#3511 SearchTask::nq() should not return 0
- \#3514 Search failed with regex tag name
- \#3533 Scheduler/Selector needs to judge the index type
@ -68,6 +68,7 @@ Please mark all changes in change log and use the issue from GitHub
- \#3220 Enable -Werror to improve code quality
- \#3449 Upgrade master version to v0.11.0
- \#3465 Optimize gc event executor
- \#3631 Add build option `-rdynamic` in CMakeList.txt
## Task

View File

@ -96,12 +96,14 @@ else ()
message( FATAL_ERROR "Unknown CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}" )
endif ()
# option "-rdynamic" is to print out detailed backtrace info for debug-ease
append_flags( CMAKE_CXX_FLAGS
FLAGS
"-fPIC"
"-DELPP_THREAD_SAFE"
"-fopenmp"
"-Werror"
"-rdynamic"
)
# **************************** Coding style check tools ****************************