[Lldb-commits] [PATCH] D54942: [PDB] Make PDB lit tests use the new builder

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 6 01:07:19 PST 2018


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.


More information about the lldb-commits mailing list