aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-04-23 12:48:42 +0000
committerIlia K <ki.stfu@gmail.com>2015-04-23 12:48:42 +0000
commit3b0494c304c9d9e88def84f2b1f2a1352727e8b4 (patch)
treee24b22cb15ec38e34ad7c2a46a7d3a14edec281a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2165de8894a347895160bf3aca48d5324e725adc (diff)
downloadllvm-3b0494c304c9d9e88def84f2b1f2a1352727e8b4.zip
llvm-3b0494c304c9d9e88def84f2b1f2a1352727e8b4.tar.gz
llvm-3b0494c304c9d9e88def84f2b1f2a1352727e8b4.tar.bz2
MI fix allowing multiple logging instances of lldb-mi to run simultaneously.
Summary: Currently if two instances of lldb-mi are running with logging enabled using '--log' the log file conflicts. This produces the following error MI: Error: File Handler. Error Permission denied opening 'C:\Users\Ewan\LLVM\build\Debug\bin\lldb-mi-log.txt' Fixed in this patch by renaming lldb-mi-log.txt based on the date, e.g. lldb-mi-log.txt-20150316163631.log, and moving the file into the temp directory by using the --log-dir option. Regrading previous review comments the P_tmpdir macro is defined in Windows but always points to "\", which doesn't help much. Also when using the Windows API for GetTempPath() dynamic memory seems much more messy. Patch from ewan@codeplay.com Reviewers: abidh, EwanCrawford Subscribers: zturner, lldb-commits, deepak2427 Differential Revision: http://reviews.llvm.org/D9054 llvm-svn: 235589
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions