[PATCH] D16599: ELF: Define another entry point.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 17:20:53 PST 2016
davide added a subscriber: davide.
davide accepted this revision.
davide added a reviewer: davide.
davide added a comment.
I like it.
================
Comment at: ELF/DriverUtils.cpp:128
@@ +127,3 @@
+ // (P just needs to be some symbol in the binary.)
+ void *P = (void *)(intptr_t)getLldExecutable;
+ SmallString<128> Dir;
----------------
The double cast is not exactly pretty, but I'm not exactly sure there's a way to avoid it.
http://reviews.llvm.org/D16599
More information about the llvm-commits
mailing list