Hi Martin, Thanks for experimenting.
On Sun, May 25, 2014 at 5:39 AM, Martin Ri <[email protected]> wrote: > The patch applied cleanly, but I'm still seeing problems. > > 189 UnsignedType GetBiased() const > 190 { > 191 UnsignedType const& key = reinterpret_cast<UnsignedType > const&>(value_); > 192 if ( value_ >= 0 ) > 193 return key + > static_cast<UnsignedType>(expr::types::GetMax<T>()) + 1; > > We are in line 192: > > clang 3.4 dbg: > (gdb) p this > $1 = (const expr::type::impl::Numeric<int> *) 0x2b3ad7c59c60 > (gdb) p value_ > $2 = 0 > (gdb) p key > $3 = (const expr::type::impl::Numeric<int>::UnsignedType &) > @0x2b3ad7c59c60: 0 > > clang trunk+patch: > (gdb) p this > No symbol "this" in current context. > (gdb) p value_ > No symbol "value_" in current context. > (gdb) p key > $6 = (DataAccess::PersistenceProperties::Key) 0x2ac8a00f7fe0 > "LVCPersistenceProperties" > Do you see the same problems w/o patch applied? Does it happen with or without ASan? Is there a way I can reproduce the issue? > > So two are not displayed and the third is wrong. This is with gdb 7.3.1 > though, I will try a fresher one and lldb later. I'm pretty sure I used the > correct compiler since I had to fix some new compile errors :) > > > 2014-05-24 1:29 GMT+02:00 <[email protected]>: > > >> Comment #8 on issue 235 by [email protected]: compiling with asan >> generates wrong DWARF >> http://code.google.com/p/address-sanitizer/issues/detail?id=235 >> >> Here's the patch - you'll need to apply it to LLVM trunk andr re-build >> Clang. >> >> Attachments: >> zdiff.i235 18.1 KB >> >> -- >> You received this message because this project is configured to send all >> issue notifications to this address. >> You may adjust your notification preferences at: >> https://code.google.com/hosting/settings >> >> -- >> You received this message because you are subscribed to the Google Groups >> "address-sanitizer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "address-sanitizer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Alexey Samsonov, Mountain View, CA -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
