[llvm-commits] Patch for bug in llvm-ld

jlh jlh at gmx.ch
Wed May 2 08:57:58 PDT 2007


Chris Lattner wrote:
> Thanks, but this doesn't seem safe.  If the args_temp vector is
> reallocated, it will move all the std::string objects, invalidating the
> pointers.

Right, I wasn't thinking enough.  One solution would be to use
std::list instead.  But anyway, I only wanted to point out the
problem.  Fix it the way you think is best.

jlh



More information about the llvm-commits mailing list