Bigcheese requested changes to this revision. Bigcheese added a comment. This revision now requires changes to proceed. I'd rather we not loop over all the mapping symbols each time. Or at least do a binary search. Other than that it looks fine. http://reviews.llvm.org/D13360