[PATCH] D64971: [SafeStack] Insert the deref after the offset

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 15:27:15 PDT 2019


vsk added a comment.

Hm. If you step through DIExpression::isValid and look up opcodes in include/llvm/BinaryFormat/Dwarf.def, the issue should become clear.

So far I've put together: !DIExpression(16, 537, 28, 4096, 456, 8, 6) -> DW_OP_constu, 537, DW_OP_minus, 4096, 456, DW_OP_const1u, DW_OP_deref

I'm not sure what the "4096, 456" part is.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64971





More information about the llvm-commits mailing list