[PATCH] D20986: [safestack] Fixup llvm.dbg.value when rewriting unsafe allocas.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 14:09:08 PDT 2016


eugenis created this revision.
eugenis added a reviewer: pcc.
eugenis added a subscriber: llvm-commits.
eugenis set the repository for this revision to rL LLVM.

When moving unsafe allocas to the unsafe stack, dbg.declare intrinsics are
updated to refer to the new location.

This change does the same to dbg.value intrinsics.


Repository:
  rL LLVM

http://reviews.llvm.org/D20986

Files:
  include/llvm/Transforms/Utils/Local.h
  lib/CodeGen/SafeStack.cpp
  lib/Transforms/Utils/Local.cpp
  test/Transforms/SafeStack/debug-loc2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20986.59620.patch
Type: text/x-patch
Size: 10655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160603/d00cf70b/attachment.bin>


More information about the llvm-commits mailing list