Tracking a remote branch [source]: git branch –track feature1 origin/master git remote add origin /remote/host/path Init blank git repository on host side: git init –bare Amend previous commit with new files [source]: git add [files] git commit –amend –C HEAD
Scripted Debug Using GDB To Find Memory Leak
I recently ran test into some hard to find memory leaks. The program only runs on Linux. The memory leaks are detected using a custom memory allocator (using an atomic counter for allocation/deallocation size). In single thread mode, the program terminated without leaking, but running in multithread mode resulted in 1.7 to 4 KB of […]
LLVM, Clang, and (no) Auto Vectorization
A few days looking into LLVM + Clang, I really liked how they are set up and how they work. I played with the IR code and JIT a little bit, then I realized that Clang and LLVM don’t support auto vectorization (as of current release 2.8).
How to Build LLVM and Clang on Windows
It’s surprisingly easy. First, I’d ignore the instruction on LLVM’s page, and rather follow the instruction on Clang’s project page, which is much more concise and will build both LLVM and Clang.