[Lldb-commits] [PATCH] D58125: Add ability to import std module into expression parser to improve C++ debugging

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 4 10:59:48 PST 2019


teemperor marked an inline comment as done.
teemperor added inline comments.


================
Comment at: lldb/packages/Python/lldbsuite/test/make/Makefile.rules:257
 
-CFLAGS += -I$(SRCDIR) -include $(THIS_FILE_DIR)test_common.h -I$(THIS_FILE_DIR)
+ifndef NO_INC_DIRS
+  CFLAGS += -I$(SRCDIR) -include $(THIS_FILE_DIR)test_common.h -I$(THIS_FILE_DIR)
----------------
labath wrote:
> I'm wondering why have you needed to do this (and whether we can figure out another solution to that).
Yeah I should have added this as a comment to the test. Our sysroot system has only a few dummy headers, so we can resolve the `#include <sys/prctl.h>` in `test_common.h`. The removed `-I` flags are actually unintentional, I'll revert removing them.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58125/new/

https://reviews.llvm.org/D58125





More information about the lldb-commits mailing list