[PATCH] [lld][ELF][ARM] Implement static (initial exec) TLS model

Denis Protivensky dprotivensky at accesssoftek.com
Wed Mar 18 00:33:14 PDT 2015


================
Comment at: lib/ReaderWriter/ELF/ARM/ARMTargetHandler.h:33
@@ +32,3 @@
+
+  uint64_t getTPOffset() const {
+    if (_tpOff.hasValue())
----------------
shankarke wrote:
> you can remove the const and remove mutable from _tpOff too.
I will do that, but I think lazy initialization is the case where using mutables does make sense.

http://reviews.llvm.org/D8353

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list