aprantl added a comment. If we agree that using the DIExpression is how we want to proceed, it might be easier to stage this by introducing a DIExpression to DIGlobalVariable first in a separate commit. http://reviews.llvm.org/D20147