tberghammer added inline comments.

================
Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:3892-3893
@@ +3891,4 @@
+                    {
+                        lldb::user_id_t spec_uid = form_value.Reference();
+                        if (UserIDMatches(spec_uid))
+                        {
----------------
Using form_value.Reference() as a uid and then passing it to UserIDMatches 
still have the same issue as before, because form_value.Reference() will return 
a 32bit DIE offset (the return type might be 64bit, but the data will be only 
32)

DIERef has a costructor taking a DWARFFormValue, please use that one and the 
get the UID from the DIERef (it will store the CU from the form_value, and know 
how to calculate UID based on it)


http://reviews.llvm.org/D12658



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

Reply via email to