IR: Expose the method 'getLocalSlot' in the module slot tracker.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 27 Jul 2015 22:31:04 +0000 (22:31 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 27 Jul 2015 22:31:04 +0000 (22:31 +0000)
commit9adb2129bdee87e527f4109af37bc5d33383f6ea
tree605a08a409fe92be62034e924a5d9b29f37e9662
parent10da90aaf3e7c679cd36733c81ad07d9d5d8cf55
IR: Expose the method 'getLocalSlot' in the module slot tracker.

This commit publicly exposes the method 'getLocalSlot' in the
'ModuleSlotTracker' class.

This change is useful for MIR serialization, to serialize the unnamed basic
block and unnamed alloca references.

Reviewers: Duncan P. N. Exon Smith

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243336 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ModuleSlotTracker.h
lib/IR/AsmWriter.cpp
unittests/IR/ValueTest.cpp