{"push_id":829513323,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"3f2aa519c00ac0eb2cc12e06bd7f2cbf094c1f7b","before":"c442e6ab186d3aff766e0147d84115b5f0ed4e88","commits":[{"sha":"3f2aa519c00ac0eb2cc12e06bd7f2cbf094c1f7b","author":{"email":"35a3eb87f592a65aefbe4aff272c5798e4119370@google.com","name":"Pavel Labath"},"message":"Fix temporary directory computation on linux (pr25147)\n\nSummary:\nOn linux, the environment variables for temp directories that lldb checks for are generally not\ndefined, and the temp directory computation failed. This caused expression evaluation to fall\nback to creating \"/tmp/lldb-*.expr\" debugging files instead of the usual\n\"$TMP/lldb/pid/lldb-*.expr\". Crucially, these files were not cleaned up on lldb exit, which\ncaused clutter in the /tmp folder, especially on long-running machines (e.g. builtbots). This\ncommit fixes lldb to use llvm::sys::path::system_temp_directory, which does the same environment\nvariable dance, but (!) also falls back to the P_tmpdir macro, which is how the temp directory is\ndefined on linux.\n\nSince the linux temp path computation now succeeds, I needed to also modify Android path\ncomputation to check for actual directory existence, rather then checking whether the operation\nfailed.\n\nReviewers: clayborg, tberghammer\n\nSubscribers: tberghammer, lldb-commits, danalbert, srhines, emaste\n\nDifferential Revision: http://reviews.llvm.org/D13772","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project-submodule/commits/3f2aa519c00ac0eb2cc12e06bd7f2cbf094c1f7b"}]}