[PATCH] D59687: [DebugInfo] Prologue inserter need to insert DW_OP_deref_size

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 08:25:40 PDT 2019


probinson added inline comments.


================
Comment at: test/CodeGen/X86/prologepilog_deref_size.mir:58
+# CHECK: machineFunctionInfo
+# CHECK: DIExpression(DW_OP_plus_uconst, {{[0-9]+}}, DW_OP_deref_size, 2, DW_OP_LLVM_convert, 16, DW_ATE_unsigned, DW_OP_LLVM_convert, 32, DW_ATE_unsigned, DW_OP_stack_value)
----------------
Not sure I follow the purpose of these conversions. DW_OP_deref_size is specified to zero-extend the fetched bytes to the size of an address. The convert operators look like they are just doing the same thing over again?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59687





More information about the llvm-commits mailing list