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

Siva Chandra sivachandra at google.com
Thu Jun 18 13:33:57 PDT 2015


Author: sivachandra
Date: Thu Jun 18 15:33:56 2015
New Revision: 240048

URL: http://llvm.org/viewvc/llvm-project?rev=240048&view=rev
Log:
[TestLoadUnload] Build the main inferior exe with -pie.

Test Plan: dotest.py -p TestLoadUnload on Android API >= 21

Reviewers: tberghammer

Subscribers: tberghammer, lldb-commits

Differential Revision: http://reviews.llvm.org/D10545

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

Modified: lldb/trunk/test/functionalities/load_unload/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/load_unload/Makefile?rev=240048&r1=240047&r2=240048&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/load_unload/Makefile (original)
+++ lldb/trunk/test/functionalities/load_unload/Makefile Thu Jun 18 15:33:56 2015
@@ -38,7 +38,7 @@ endif
 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





More information about the lldb-commits mailing list