This patch provides initial LSan support for ARM Linux (TLS is not yet supported).
Compiler-rt doesn't support cross-compilation, so we just ran numerous (for about 10) LSan tests manually on target board.
All tests have successfully passed (all leaks were detected and backtraces were correct).
Tested on arm-linux-gnueabi.
instead of duplicating this struct here, please move it out of ifdef and use FIRST_32_SECOND_64(54, 22)
Also, why do you think 22 bits is enough?