[PATCH] D43207: [Utils] Salvage the debug info of DCE'ed 'xor' instructions

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 13:51:52 PST 2018


vsk added a comment.

It looks like this is able to salvage actual variables in the wild:

  Assertion failed: (false && "hi! salvaged a xor!"), function salvageDebugInfo
  ...
  Running pass 'CallGraph Pass Manager' on module '/Users/vsk/src/llvm.org-debugify/llvm/lib/Support/Regex.cpp'.
  
  Assertion failed: (false && "hi! salvaged a xor!"), function salvageDebugInfo
  ...
  Running pass 'CallGraph Pass Manager' on module '/Users/vsk/src/llvm.org-debugify/llvm/lib/Support/APInt.cpp'.


https://reviews.llvm.org/D43207





More information about the llvm-commits mailing list