D132236 would have introduced regressions in the symbol lifetime
handling. However, the testsuite did not catch this, so here we have
some tests, which would have break if D132236 had landed.
This patch addresses the comment https://reviews.llvm.org/D132236#3753238
Co-authored-by: Balazs Benics <balazs.benics@sonarsource.com>
Could you please add some explanation for the test case? Thinking of the related patch, something like this could be a good explanation:
And below, we should mention that p is that symbol and p->data is the lazy compound value.