Hi Tim, Joerg and other reviewers,
Most 64-bit targets define int64_t as long int, and AArch64 should make same definition to follow LP64 model. In GNU tool chain, int64_t is defined as long int for 64-bit target. So to get consistent with GNU, it's better Changing int64_t from 'long long int' to 'long int', otherwise clang will get different name mangling suffix compared with g++.
Also, this patch will fix the bug in http://llvm.org/bugs/show_bug.cgi?id=18892.