[Lldb-commits] [lldb] r240048 - [TestLoadUnload] Build the main inferior exe with -pie.
Vince Harron
vince at nethacker.com
Fri Jun 19 06:03:42 PDT 2015
Will this work for API < 14 (pie is not supported)
On Jun 18, 2015 1:40 PM, "Siva Chandra" <sivachandra at google.com> wrote:
> 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
>
>
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150619/8fa948c9/attachment.html>
More information about the lldb-commits
mailing list