As I couldn't find a clear answer anywhere, I have uploaded a question to stackoverflow (http://stackoverflow.com/questions/17896989/) hoping someone there could help. If you have any input, I would greatly appreciate it if you post it there. http://llvm-reviews.chandlerc.com/D1229