[PATCH] [lld][ELF] Add linker script ENTRY command
Rui Ueyama
ruiu at google.com
Mon May 20 15:29:28 PDT 2013
================
Comment at: lib/Driver/Driver.cpp:29
@@ -28,3 +28,3 @@
/// This is where the link is actually performed.
-bool Driver::link(const TargetInfo &targetInfo, raw_ostream &diagnostics) {
+bool Driver::link(TargetInfo &targetInfo, raw_ostream &diagnostics) {
// Honor -mllvm
----------------
I tried not to remove "const" from this method, but eventually I had to, because "how and what to link" can be altered by parsing files. Not only linker script, but Windows .obj files can change targetInfo, so I thought that this change makes sense.
http://llvm-reviews.chandlerc.com/D833
More information about the llvm-commits
mailing list