[PATCH] D103131: support debug info for alias variable

kamlesh kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 23 04:56:13 PDT 2021


kamleshbhalui added a comment.

Here is what we get when we replace int with float.

  $lldb-11 ./a.out 
  (lldb) target create "./a.out"
  Current executable set to '/folk/kkumar/tcllvm/llvm-build-lldb-rel/bin/a.out' (x86_64).
  (lldb) b main
  Breakpoint 1: where = a.out`main + 4 at test.c:3:12, address = 0x0000000000400484
  (lldb) p oldname
  (float) $0 = 1
  (lldb) p newname
  (void *) $1 = 0x000000003f800000


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103131



More information about the cfe-commits mailing list