From c4122ad21458567528491bb85ac251a117f513e4 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Fri, 31 Mar 2017 15:54:51 +0200 Subject: [PATCH] Let Travis Report Symbols --- .travis.yml | 10 ++++++++-- CMakeLists.txt | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82485b6862e..2e7be66286a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -223,12 +223,18 @@ script: - ./unit_tests/util-tests - ./unit_tests/server-tests - ./unit_tests/partition-tests - - popd - - yarn test - | if [ -n "${ENABLE_NODE_BINDINGS}" ]; then + + echo ">>> symbol-tag-node-osrm" + nm -D ../lib/binding/node-osrm.node | c++filt + echo ">>> symbol-tag-libosrm" + nm libosrm.a | c++filt + npm run nodejs-tests fi + - popd + - yarn test after_success: - | diff --git a/CMakeLists.txt b/CMakeLists.txt index fe271ab80d5..341eb954b80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -303,6 +303,8 @@ endif() if (ENABLE_SANITIZER) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address") set(OSRM_CXXFLAGS "${OSRM_CXXFLAGS} -fsanitize=address") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=address") + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fsanitize=address") endif() # Configuring compilers