Skip to content
Snippets Groups Projects
  1. Nov 12, 2012
    • Wei Mi's avatar
      Import the asan runtime library into GCC tree · f35db108
      Wei Mi authored
      This patch imports the runtime library in the GCC tree, ensures that
      -lasan is passed to the linker when -faddress-sanitizer is used and
      sets up the build system accordingly.
      
      ChangeLog:
      
      	* configure.ac: Add libsanitizer to target_libraries.
      	* Makefile.def: Ditto.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* libsanitizer: New directory for asan runtime.  Contains an empty
      	tsan directory.
      
      gcc/ChangeLog:
      
      	* gcc.c (LINK_COMMAND_SPEC): Add -laddress-sanitizer to link
      	command if -faddress-sanitizer is on.
      
      libsanitizer:
      
      	Initial checkin: migrate asan runtime from llvm.
      
      From-SVN: r193441
      f35db108
Loading