[gnome-builder/wip/chergert/completion] clang: disable counters in helper process
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/completion] clang: disable counters in helper process
- Date: Sun, 3 Jun 2018 02:10:17 +0000 (UTC)
commit 62c997134db0a900f7e8449a394d71c544874b49
Author: Christian Hergert <chergert redhat com>
Date: Sat Jun 2 19:09:41 2018 -0700
clang: disable counters in helper process
src/plugins/clang/ide-clang-client.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/clang/ide-clang-client.c b/src/plugins/clang/ide-clang-client.c
index 5f2df535f..b0bf1d8aa 100644
--- a/src/plugins/clang/ide-clang-client.c
+++ b/src/plugins/clang/ide-clang-client.c
@@ -344,6 +344,7 @@ ide_clang_client_constructed (GObject *object)
if (cwd != NULL)
ide_subprocess_launcher_set_cwd (launcher, cwd);
ide_subprocess_launcher_set_clear_env (launcher, FALSE);
+ ide_subprocess_launcher_setenv (launcher, "DZL_COUNTER_DISABLE_SHM", "1", TRUE);
#if 0
ide_subprocess_launcher_push_argv (launcher, "gdbserver");
ide_subprocess_launcher_push_argv (launcher, "localhost:8888");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]