[PATCH] D73534: [DebugInfo] Enable the debug entry values feature by default
David Stenberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 12 03:03:23 PDT 2020
dstenb added a comment.
In D73534#1918890 <https://reviews.llvm.org/D73534#1918890>, @manojgupta wrote:
> Hi,
>
> I see another crash with this change when building gdb.
>
> Reduced test case:
> struct type *a(type *, type *, long, long);
> enum b {};
> static int empty_array(type *, int c) { type *d = a(__null, d, c, c - 1); }
> long e;
> b f() { empty_array(0, e); }
>
> Repros with:
> clang -cc1 -triple x86_64-linux-gnu -emit-obj -disable-free -mrelocation-model pic -pic-level 2 -pic-is-pie -mthread-model posix -mframe-pointer=all -mconstructor-aliases -munwind-tables -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -O2 -x c++
>
> Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1060788
Oh, that assertion is related to D75036 <https://reviews.llvm.org/D75036> which I did. I can have a look at that.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73534/new/
https://reviews.llvm.org/D73534
More information about the cfe-commits
mailing list