[PATCH] D11588: [Sanitizers] [Bug 24151] Generalize type of offset in internal_mmap
Daniel Sanders
daniel.sanders at imgtec.com
Thu Jul 30 12:23:16 PDT 2015
dsanders added a comment.
The x86 build failed with:
projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc:318: undefined reference to `__sanitizer::MapWritableFileToMemory(void*, unsigned long, int, unsigned long)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
OFF_T is unsigned long long on this host.
I've therefore changed the definition in sanitizer_common.h to fix the build. Also, in anticipation of the windows build failing on the same issue I've changed the one in sanitizer_win.cc too.
I'm currently running check-all and I intend to commit on Mohit's behalf if that passes.
Hans+Kostya: Is this ok to merge to the release branch once it's committed?
Repository:
rL LLVM
http://reviews.llvm.org/D11588
More information about the llvm-commits
mailing list