GOT patcher: add LSan to ignored libs 69/91269/7
authorAlexander Aksenov <a.aksenov@samsung.com>
Thu, 6 Oct 2016 12:08:50 +0000 (15:08 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Wed, 26 Oct 2016 18:31:34 +0000 (21:31 +0300)
Issue:
LSan lib as well as another profiler libs should be ignored
by GOT patcher, because their API usage is supposed to be
an auxiliary one.

Solution:
Add LSan library to ignored ones.

Change-Id: If75f79320946b162938edf2148f45eb34631cd5e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
helper/got_patching.c

index c482590..5679131 100644 (file)
@@ -174,6 +174,7 @@ static inline bool _is_ignored(const char *path)
        const char probe_lib[] = "/usr/lib/da_probe_tizen.so";
        const char event_lib[] = "/usr/lib/swap_probe_event.so";
        const char uihv_lib[] = "/usr/lib/da_ui_viewer.so";
+       const char lsan_lib[] = "/usr/lib/da_swap_lsan.so";
        const char linux_gate[] = "linux-gate.so.1";
        const char linker_2[] = "/lib/ld-linux.so.2";
        const char linker_3[] = "/lib/ld-linux.so.3";
@@ -189,6 +190,7 @@ static inline bool _is_ignored(const char *path)
        if (!strcmp(probe_lib, path) ||
            !strcmp(event_lib, path) ||
            !strcmp(uihv_lib, path) ||
+           !strcmp(lsan_lib, path) ||
            !strcmp(linux_gate, path) ||
            !strcmp(linker_2, path) ||
            !strcmp(linker_3, path) ||