whitequark added inline comments. ================ Comment at: lib/IR/Core.cpp:240 + *Len = Str.length(); + return Str.c_str(); +} ---------------- Shouldn't the result be returned in a newly allocated buffer here? Repository: rL LLVM https://reviews.llvm.org/D42618