Introduce the "@llvm.dbg.value" debug intrinsic.
authorVictor Hernandez <vhernandez@apple.com>
Mon, 7 Dec 2009 19:36:34 +0000 (19:36 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Mon, 7 Dec 2009 19:36:34 +0000 (19:36 +0000)
commit2f9dac721d6b015fd16730bd51bffc86e29e6fdf
treec8165e684f0d1518edafa8a8b4eb94656d2dd6e1
parentbc39a795f46ef04326915d881dc1d861144e3e19
Introduce the "@llvm.dbg.value" debug intrinsic.

The semantics of llvm.dbg.value are that starting from where it is executed, an offset into the specified user source variable is specified to get a new value.

An example:
  call void @llvm.dbg.value(metadata !{ i32 7 }, i64 0, metadata !2)
Here the user source variable associated with metadata #2 gets the value "i32 7" at offset 0.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90788 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
include/llvm/IntrinsicInst.h
include/llvm/Intrinsics.td
lib/Analysis/DebugInfo.cpp