labath added inline comments.

================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp:24
@@ -25,1 +23,3 @@
+static DWARFFormValue::FixedFormSizes
+g_form_sizes_addr4 {
     0, // 0x00 unused
----------------
Will these be linker-initialized? As I understand it, we are trying to avoid 
static constructors..

================
Comment at: source/Plugins/SymbolFile/DWARF/DWARFFormValue.h:39
@@ -38,1 +38,3 @@
+    
+    typedef const std::vector<uint8_t> FixedFormSizes;
 
----------------
I don't think hiding const in the type name is a good idea. It makes it quite 
hard to tell you are declaring constant arrays below.


http://reviews.llvm.org/D12239



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to