On 06/12/2018 09:25, Aleksandr Urakov via lldb-commits wrote:

I thought about what Stella have said, and it seems that I have found a good solution for this. We can use something likeĀ `tempfile` (https://docs.python.org/3.7/library/tempfile.html) for every internally generated file of the script. It will guarantee us the uniqueness of the file. But for the uniqueness of files named by script parameters the script user will remain responsible.

What do you think about the such approach?

Sounds good to me. That's pretty much what the real compiler driver does when you ask it to run in the "compile-and-link" mode.
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to