[PATCH] D38360: [ELF] Set Dot initially to --image-base value when using linker scripts

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 06:51:58 PDT 2017


grimar added inline comments.


================
Comment at: ELF/Driver.cpp:924
   if (!Arg)
-    return Config->Pic ? 0 : Target->DefaultImageBase;
+    return Optional<uint64_t>();
 
----------------
It is common to
```
return None;
```


https://reviews.llvm.org/D38360





More information about the llvm-commits mailing list