[PATCH] D75390: Fix GSYM tests to run the yaml files and fix test failures on some machines.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 5 16:26:33 PST 2020
eugenis added a comment.
Oh, is is possible that you've misunderstood the wording of the report?
In this report:
MemorySanitizer: use-of-uninitialized-value
...
Uninitialized value was stored to memory at
...
Uninitialized value was stored to memory at
...
Uninitialized value was created by an allocation of 'Hdr' in the stack frame of function '_ZNK4llvm4gsym11GsymCreator6encodeERNS0_10FileWriterE'
only the first stack trace is the error. The rest ("stored to memory at") explain how the uninitialized data reached that code, and should be read from the bottom:
- allocated as "Hdr" on stack
- then a value derived from the uninitialized contents of Hdr (possibly a straight copy) was written to memory
- then a value derived from that value was written to memory
- then a value derived from the previous value was used as a side-effect
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75390/new/
https://reviews.llvm.org/D75390
More information about the llvm-commits
mailing list