diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2014-03-07 13:55:54 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2014-03-07 13:55:54 +0000 |
commit | a6c9ab4e1953420f0e8a2d60d3bdccd153a2434a (patch) | |
tree | 959c6aed35365b4a0a85ab524f218e6fbf85077f /libsanitizer | |
parent | 3b9edeac73a88b00a06b1822a25fdd287315b146 (diff) | |
download | gcc-a6c9ab4e1953420f0e8a2d60d3bdccd153a2434a.tar.gz |
Handle backtrace_qsort
* libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES):
Add ../../libbacktrace/sort.c.
* libbacktrace/Makefile.in: Regenerate.
* libbacktrace/backtrace-rename.h (backtrace_qsort): Define.
From-SVN: r208401
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 7 | ||||
-rw-r--r-- | libsanitizer/libbacktrace/Makefile.am | 1 | ||||
-rw-r--r-- | libsanitizer/libbacktrace/Makefile.in | 11 | ||||
-rw-r--r-- | libsanitizer/libbacktrace/backtrace-rename.h | 1 |
4 files changed, 19 insertions, 1 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 36e10deee4d..5a6cf6e66bd 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,10 @@ +2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): + Add ../../libbacktrace/sort.c. + * libbacktrace/Makefile.in: Regenerate. + * libbacktrace/backtrace-rename.h (backtrace_qsort): Define. + 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * configure.tgt: Unsupported for little endian PowerPC for now. diff --git a/libsanitizer/libbacktrace/Makefile.am b/libsanitizer/libbacktrace/Makefile.am index 39c91aa62b8..fd9eb65f7eb 100644 --- a/libsanitizer/libbacktrace/Makefile.am +++ b/libsanitizer/libbacktrace/Makefile.am @@ -50,6 +50,7 @@ libsanitizer_libbacktrace_la_SOURCES = \ ../../libbacktrace/fileline.c \ ../../libbacktrace/internal.h \ ../../libbacktrace/posix.c \ + ../../libbacktrace/sort.c \ ../../libbacktrace/state.c \ ../../libiberty/cp-demangle.c \ bridge.cc diff --git a/libsanitizer/libbacktrace/Makefile.in b/libsanitizer/libbacktrace/Makefile.in index 3dca45b6e83..0dfb53d2c93 100644 --- a/libsanitizer/libbacktrace/Makefile.in +++ b/libsanitizer/libbacktrace/Makefile.in @@ -90,7 +90,7 @@ CONFIG_CLEAN_VPATH_FILES = LTLIBRARIES = $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = am_libsanitizer_libbacktrace_la_OBJECTS = atomic.lo dwarf.lo \ - fileline.lo posix.lo state.lo cp-demangle.lo bridge.lo + fileline.lo posix.lo sort.lo state.lo cp-demangle.lo bridge.lo libsanitizer_libbacktrace_la_OBJECTS = \ $(am_libsanitizer_libbacktrace_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) @@ -279,6 +279,7 @@ libsanitizer_libbacktrace_la_SOURCES = \ ../../libbacktrace/fileline.c \ ../../libbacktrace/internal.h \ ../../libbacktrace/posix.c \ + ../../libbacktrace/sort.c \ ../../libbacktrace/state.c \ ../../libiberty/cp-demangle.c \ bridge.cc @@ -371,6 +372,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmapio.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/posix.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/read.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sort.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/state.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unknown.Plo@am__quote@ @@ -423,6 +425,13 @@ posix.lo: ../../libbacktrace/posix.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o posix.lo `test -f '../../libbacktrace/posix.c' || echo '$(srcdir)/'`../../libbacktrace/posix.c +sort.lo: ../../libbacktrace/sort.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sort.lo -MD -MP -MF $(DEPDIR)/sort.Tpo -c -o sort.lo `test -f '../../libbacktrace/sort.c' || echo '$(srcdir)/'`../../libbacktrace/sort.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sort.Tpo $(DEPDIR)/sort.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../../libbacktrace/sort.c' object='sort.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sort.lo `test -f '../../libbacktrace/sort.c' || echo '$(srcdir)/'`../../libbacktrace/sort.c + state.lo: ../../libbacktrace/state.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT state.lo -MD -MP -MF $(DEPDIR)/state.Tpo -c -o state.lo `test -f '../../libbacktrace/state.c' || echo '$(srcdir)/'`../../libbacktrace/state.c @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/state.Tpo $(DEPDIR)/state.Plo diff --git a/libsanitizer/libbacktrace/backtrace-rename.h b/libsanitizer/libbacktrace/backtrace-rename.h index af8f36bd2d3..159512f0b55 100644 --- a/libsanitizer/libbacktrace/backtrace-rename.h +++ b/libsanitizer/libbacktrace/backtrace-rename.h @@ -8,6 +8,7 @@ #define backtrace_initialize __asan_backtrace_initialize #define backtrace_open __asan_backtrace_open #define backtrace_pcinfo __asan_backtrace_pcinfo +#define backtrace_qsort __asan_backtrace_qsort #define backtrace_release_view __asan_backtrace_release_view #define backtrace_syminfo __asan_backtrace_syminfo #define backtrace_vector_finish __asan_backtrace_vector_finish |