[PATCH] D87233: [POC][DebugInfo] Use entry values within IR

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 05:31:52 PDT 2020


djtodoro updated this revision to Diff 296160.
djtodoro added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: jdoerfert.

- Extend the llvm.dbg.value() with 2 operands by describing Entry Value

TODOs:

1. Handle auto-upgrade
2. Handle bitcode backward compatibility
3. Add tests (unit tests)
4. Add documentation

For now, the usage of this can be seen at: D87357 <https://reviews.llvm.org/D87357>


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

https://reviews.llvm.org/D87233

Files:
  llvm/include/llvm/IR/DIBuilder.h
  llvm/include/llvm/IR/IntrinsicInst.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/include/llvm/Transforms/Utils/Local.h
  llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
  llvm/lib/IR/DIBuilder.cpp
  llvm/lib/IR/DebugInfoMetadata.cpp
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/Verifier/diexpression-valid-entry-value.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87233.296160.patch
Type: text/x-patch
Size: 12677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201005/6fbc2f84/attachment.bin>


More information about the llvm-commits mailing list