[PATCH] D24849: Make CanUseCopyRelocWithPIE a llvm option, -pie-copy-relocations

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 16:30:29 PDT 2016


davide added inline comments.


> TargetMachine.cpp:118-121
> +static cl::opt<bool>
> +CanUseCopyRelocWithPIE("pie-copy-relocations", cl::init(false),
> +                       cl::desc("Assume copy relocations support exists when "
> +                                "generating code for PIE executables."));

Strongly agree. Other than that the logic seems right to me. Please upload another version.

https://reviews.llvm.org/D24849





More information about the llvm-commits mailing list