probinson added a comment.

In https://reviews.llvm.org/D52296#1282458, @dblaikie wrote:

> I guess in that case your distributed build system would have a constraint 
> that it always ships all the object files back to the primary machine (where 
> you'd be running the debugger)? (perhaps it just always runs the link locally 
> - even though it distributes the compilations - I guess that's probably how 
> things like distcc work, where they only inject themselves into the 
> compilation command, not the linking command maybe?)


AFAIK this is how distcc, icecc, SN-DBS all work.  Compilations are 
distributed, the .o files come back, links are local.

> Also, may require some work/more flags to handle the possible file renaming 
> (or relative/absolute adjustment) when object files are built on a remote 
> system in one location, but then moved back to the local system and placed in 
> another location?

Any distributed build has to make this work, so the paths in the line table are 
usable.  Not clear what you're thinking might be the problem with the 
split-in-.o case.


https://reviews.llvm.org/D52296



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to