[Lldb-commits] [PATCH] D24255: Fix for rL280668, Intel(R) Memory Protection Extensions (Intel(R) MPX) support.

Valentina Giusti via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 7 07:13:12 PDT 2016


valentinagiusti marked an inline comment as done.

================
Comment at: packages/Python/lldbsuite/test/functionalities/register/intel_xtended_registers/Makefile:6
@@ +5,3 @@
+ifeq "$(ARCH)" "i386"
+	CFLAGS_EXTRAS += -mmpx -fcheck-pointer-bounds -fuse-ld=bfd -m32
+	LD_EXTRAS += -mmpx -fcheck-pointer-bounds -fuse-ld=bfd -m32
----------------
You are right, if I use CFLAGS_EXTRAS I don't have to check for the arch or use LD_EXTRAS. I wish I knew this from the beginning...


https://reviews.llvm.org/D24255





More information about the lldb-commits mailing list