[Lldb-commits] [PATCH] [TestLoadUnload] Build the main inferior exe with -pie.

Siva Chandra sivachandra at google.com
Thu Jun 18 13:38:14 PDT 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10545

Files:
  lldb/trunk/test/functionalities/load_unload/Makefile

Index: lldb/trunk/test/functionalities/load_unload/Makefile
===================================================================
--- lldb/trunk/test/functionalities/load_unload/Makefile
+++ lldb/trunk/test/functionalities/load_unload/Makefile
@@ -38,7 +38,7 @@
 all: a.out $(LIB_A) $(LIB_B) $(LIB_C) $(LIB_D) hidden/$(LIB_D)
 
 a.out: main.o $(LIB_D)
-	$(CC) $(CFLAGS) -o a.out main.o -L. -lloadunload_d $(LIB_DL)
+	$(CC) $(CFLAGS) -o a.out main.o -L. -pie -lloadunload_d $(LIB_DL)
 
 main.o: main.c
 	$(CC) $(CFLAGS) -c main.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10545.27957.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150618/b08f5ceb/attachment.bin>


More information about the lldb-commits mailing list