From c99859aeca9cb0d4ebec395052bdd8a4ef38fcfd Mon Sep 17 00:00:00 2001 From: Matthieu Volat Date: Mon, 28 Nov 2016 15:09:18 +0100 Subject: [PATCH] Add more libraries to blacklist. FreeBSD system and LLVM related libraries. --- src/mc/Process.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/mc/Process.cpp b/src/mc/Process.cpp index 61dc6afa2f..ee5df35082 100644 --- a/src/mc/Process.cpp +++ b/src/mc/Process.cpp @@ -57,8 +57,18 @@ namespace mc { // List of library which memory segments are not considered: static const char *const filtered_libraries[] = { +#ifdef __linux__ "ld", +#elif defined __FreeBSD__ + "ld-elf", + "ld-elf32", + "libkvm", /* kernel data access library */ + "libprocstat", /* process and file information retrieval */ + "libthr", /* thread library */ + "libutil", +#endif "libasan", /* gcc sanitizers */ + "libargp", /* workarounds for glibc-less systems */ "libtsan", "libubsan", "libbz2", @@ -70,9 +80,11 @@ static const char *const filtered_libraries[] = { "libc++", "libcdt", "libcgraph", + "libcxxrt", "libdl", "libdw", "libelf", + "libevent", "libgcc_s", "liblua5.1", "liblua5.3", -- 2.20.1