diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2022-08-25 16:00:50 +0100 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2022-08-25 16:43:40 +0100 |
commit | 96f00f63b2d65ebe759ae1746c30115e73cbd4f2 (patch) | |
tree | 8bdddad2c8ab275dbbbceb98835eadd46655022e /cross-project-tests | |
parent | 6b6d1abb102161de4c4dacb3df93b73f318fcf79 (diff) | |
download | llvm-96f00f63b2d65ebe759ae1746c30115e73cbd4f2.zip llvm-96f00f63b2d65ebe759ae1746c30115e73cbd4f2.tar.gz llvm-96f00f63b2d65ebe759ae1746c30115e73cbd4f2.tar.bz2 |
[debuginfo-tests] Un-XFAIL no passing unused-merged-value.c test
This test would previously expect one of the parameters to have
an incorrect DW_AT_location. Stepping through `fun` with a debugger
would then no reflect updates to one of the parameters.
With a recent change to Clang's DeadArgumentEliminationPass
(see `879f5118fc74657e4a5c4eff6810098e1eed75ac`) the generated
DWARF does not contain a location for `parama`, and stepping through
the function with `lldb` works as expected.
Differential Revision: https://reviews.llvm.org/D132664
Diffstat (limited to 'cross-project-tests')
-rw-r--r-- | cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c b/cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c index 805062c..f689aae 100644 --- a/cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c +++ b/cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c @@ -1,5 +1,7 @@ -// XFAIL: * -// Incorrect location for variable "parama", see PR48719. +// Location for variable "parama" optimized out. +// Previously it would carry incorrect location +// information in debug-info, see PR48719. +// Now, the location is simply not emitted. // REQUIRES: lldb // UNSUPPORTED: system-windows |