[llvm] r304078 - Recommit "[DWARF] - Make collectAddressRanges() return section index in addition to Low/High PC"

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Sat May 27 13:06:06 PDT 2017


On Sat, May 27, 2017 at 1:01 PM George Rimar <grimar at accesssoftek.com>
wrote:

> > Which variable/where was it uninitialized? Do you know if this was
> failing reliably with msan?
>
> It was SymInfo Ret; in getSymbolInfo().
>
> Previously it was uint64_t Ret = 0;  I changed it to SymInfo Ret = {0,
> (uint64_t)-1LL};​
>
> Logic of test was such that Address filed was never set and it failed.
>
> I do not aware about msan..
>

https://clang.llvm.org/docs/MemorySanitizer.html - might be worth having a
go with. I honestly don't use the sanitizers often, so I'm hardly
practicing what I'm preaching here, but it's a thought.


>
> George.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170527/077e01d1/attachment.html>


More information about the llvm-commits mailing list