Skip to content
Snippets Groups Projects
  • Wei Mi's avatar
    f35db108
    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
    History
    Import the asan runtime library into GCC tree
    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
This project is licensed under the GNU Lesser General Public License v2.1 only. Learn more