[PATCH] D72024: Add C source to two debug info tests.

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 13:45:43 PST 2020


eugenis marked an inline comment as done.
eugenis added inline comments.


================
Comment at: llvm/test/tools/llvm-symbolizer/frame-loclist.s:75-77
 // DW_AT_location        (0x00000083: 
-//    [0x00000000000000a8, 0x00000000000000b8): DW_OP_consts +1, DW_OP_stack_value
-//    [0x00000000000000b8, 0x00000000000000bc): DW_OP_reg0 W0)
+//     [0x0000000000000090, 0x00000000000000a0): DW_OP_reg0 W0
+//     [0x00000000000000a0, 0x00000000000000ac): DW_OP_reg19 W19)
----------------
dblaikie wrote:
> What's this DW_AT_location? The comment says the variable is optimized out, but I would take it from the presence of this location description that it isn't optimized out & that description is the one in the assembly for this location? 
this tests the case when there are no FP-relative locations in the list, i.e. the variable either has no stack location, or that information is lost somehow.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72024/new/

https://reviews.llvm.org/D72024





More information about the llvm-commits mailing list