[Lldb-commits] [PATCH] [TestLoadUnload] Build the main inferior exe with -pie.
Siva Chandra
sivachandra at google.com
Thu Jun 18 12:13:23 PDT 2015
Hi tberghammer,
http://reviews.llvm.org/D10545
Files:
test/functionalities/load_unload/Makefile
Index: test/functionalities/load_unload/Makefile
===================================================================
--- test/functionalities/load_unload/Makefile
+++ 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.27948.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150618/98199587/attachment.bin>
More information about the lldb-commits
mailing list