Hello, creduce 2.5.0 (18e04be) on x86_64 fails in pass_clang::rename-param transformation w/ the attached input:
% /usr/libexec/clang_delta --transformation=rename-param --counter=1 \ /tmp/asan_interceptors.i clang_delta: Transformation.cpp:101: void Transformation::outputTransformedSource(llvm::raw_ostream&): Assertion `RWBuf && "Empty RewriteBuffer!"' failed. Thanks, Arseny
namespace __sanitizer { typedef long uptr; typedef long sptr; typedef long long OFF64_T; } using namespace __sanitizer; namespace { void AsanInitFromRtl(); extern int asan_inited; } typedef uptr SIZE_T; typedef sptr SSIZE_T; typedef SSIZE_T pread64_f(int, void *, SIZE_T, OFF64_T); namespace __interception { pread64_f real_pread64; } SSIZE_T __interceptor_pread64(int fd, void *ptr, SIZE_T count, OFF64_T offset) { if (__builtin_expect(asan_inited, 0)) AsanInitFromRtl(); __interception::real_pread64(fd, ptr, count, offset); }