re PR c++/88986 (ICE: tree check: expected tree that contains 'decl minimal' structur...
[official-gcc.git] / libvtv / ChangeLog
blob60409dafdb0deb0672c7e0e17352fa89889ba49c
1 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
3         Update copyright years.
5 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
7         PR bootstrap/82856
8         * Makefile.am: Include multilib.am.
9         * configure.ac: Remove AC_PREREQ.
10         * testsuite/Makefile.am (RUNTEST): Remove quotes.
11         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
12         Regenerate.
14 2018-05-02  Tom de Vries  <tom@codesourcery.com>
16         PR testsuite/85106
17         * testsuite/lib/libvtv.exp: Include scanltranstree.exp.
19 2018-05-02  Tom de Vries  <tom@codesourcery.com>
21         PR testsuite/85106
22         * testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
24 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
26         * configure: Regenerated.
28 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
30         * configure: Regenerated.
32 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
34         PR jit/85384
35         * configure: Regenerate.
37 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
39         PR target/84148
40         * configure: Regenerate.
42 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
44         Update copyright years.
46 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
48         * acinclude.m4: Add enable.m4 and cet.m4.
49         * Makefile.in: Regenerate.
50         * testsuite/Makefile.in: Likewise.
51         * configure: Likewise.
52         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
53         * testsuite/libvtv.cc/vtv.exp: Add scanlang.exp.
55 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
57         PR other/79046
58         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
59         of cat to get version from BASE-VER file.
60         * testsuite/Makefile.in: Regenerated.
62 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
64         PR other/79046
65         * configure.ac: Add GCC_BASE_VER.
66         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
67         get version from BASE-VER file.
68         * testsuite/Makefile.in: Regenerated.
69         * configure: Regenerated.
70         * Makefile.in: Regenerated.
72 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
74         Update copyright years.
76 2016-11-15  Matthias Klose  <doko@ubuntu.com>
78         * configure: Regenerate.
80 2016-05-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
82         * Makefile.am (toolexeclib_LTLIBRARIES): Only set if
83         ENABLE_VTABLE_VERIFY.
84         Simplify.
85         * Makefile.in: Regenerate.
87 2015-12-02  Matthias Klose  <doko@ubuntu.com>
89         * configure.ac: Move AM_ENABLE_MULTILIB before
90         GCC_LIBSTDCXX_RAW_CXX_FLAGS.
91         * configure: Regenerate.
93 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
95         * configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
96         * configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
97         <*-*-solaris2*>: Check for init priority support.
98         Check for getexecname, __fortify_fail, _obstack_begin.
99         (VTV_NO_OBSTACK): New conditional.
100         * configure: Regenerate.
101         * Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
102         Create empty config.h
103         * Makefile.in: Regenerate.
105         * vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
106         variable.
107         (read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
108         (dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
110         (__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
111         [!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
113         (read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
114         (iterate_modules): Fix typo.
115         Use VTV_PAGE_SIZE.
116         (dl_iterate_phdr_callback): Fix typo.
117         Use VTV_PAGE_SIZE.
118         (__VLTChangePermission): Fix typos.
120 2015-11-09  Alan Modra  <amodra@gmail.com>
122         * vtv_malloc.cc (obstack_chunk_free): Correct param type.
123         (__vtv_malloc_init): Use obstack_specify_allocation.
125 2015-10-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
127         * configure.tgt (aarch64*-*-linux): Enable.
128         (arm*-*-linux*): Enable.
130 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
132         * testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
133         using load_gcc_lib.
135 2015-08-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
137         Update copyrights.
139 2015-08-01  Caroline Tice  <cmtice@google.com>
141         PR 66521
142         * Makefile.am:  Update to match latest tree.
143         * Makefile.in: Regenerate.
144         * testsuite/lib/libvtv: Brought up to date.
145         * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
146         function (old bug!).
147         * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
148         initializations to work correctly with VTV_DEBUG defined.
150 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
152         * Makefile.in: Regenerated with automake-1.11.6.
153         * aclocal.m4: Likewise.
154         * configure: Likewise.
155         * testsuite/Makefile.in: Likewise.
156         * testsuite/other-tests/Makefile.in: Likewise.
158 2015-02-09  Thomas Schwinge  <thomas@codesourcery.com>
160         * Makefile.in: Regenerate.
161         * aclocal.m4: Likewise.
162         * configure: Likewise.
163         * testsuite/Makefile.in: Likewise.
165 2015-01-29  Caroline Tice  <cmtice@google.com>
167         Committing VTV Cywin/Ming patch for Patrick Wollgast
168         * libvtv/Makefile.in : Regenerate.
169         * libvtv/configure : Regenerate.
171 2015-01-28  Caroline Tice  <cmtice@google.com>
173         Committing VTV Cywin/Ming patch for Patrick Wollgast
174         * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
175         VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
176         libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
177         set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
178         * libvtv/aclocal.m4 : Regenerate.
179         * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
180         * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
181         x86_64-*-mingw*)
182         (i?86-*-mingw*): Add to supported targets.
183         * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
184         (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
185         on Cygwin and MinGW.
186         * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
187         inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
188         (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
189         on Cygwin and MinGW.
190         (__vtv_malloc_init): Exchange call to sysconf with call to port of
191         sysconf on Cygwin and MinGW.
192         * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
193         PROT_WRITE on Cygwin and MinGW.
194         * libvtv/map.h : Include stdint.h on MinGW.
195         * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
196         include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
197         port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
198         uintptr_t on Cygwin and MinGW.
199         (read_section_offset_and_length): Add port for Cygwin and MinGW
200         (iterate_modules): New function.
201         (vtv_unprotect_vtable_vars): Use iterate_modules instead of
202         dl_iterate_phdr on Cygwin and MinGW.
203         (vtv_protect_vtable_vars): Likewise.
204         (count_all_pages): Likewise.
205         (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
206         * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
207          Cygwin and MinGW.
208         (__vtv_open_log): Exchange call to getuid and getpid with
209         GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
210         and MinGW.  Adjust calls to mkdir on MinGW.  Adjust call to open on
211         Cygwin and MinGW.
212         (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
213         (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
214         and MinGW.
216 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
218         * testsuite/lib/libvtv.exp: Load target-utils.exp
220 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
222         PR bootstrap/63784
223         * configure: Regenerated.
225 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
227         PR target/63610
228         * configure: Regenerate.
230 2013-09-25 Caroline Tice  <cmtice@google.com>
232         * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
233         sure testsuite is not run if libstdc++ and libgcc were not built
234         with vtable verification.
235         * Makefile.in: Regenerated.
236         * configure.ac: Reinstate checks for --enable-vtable-verify flag,
237         to make sure testsuite is not run if libstdc++ and libgcc were not
238         built with vtable verification.
239         * configure: Regenerated.
241 2013-09-24  Caroline Tice  <cmtice@google.com>
243         * Makefile.am:  Change libvtv_includedir to the directory used by
244         the other libraries rather than the top include directory.
245         * Makefile.in: Regenerated.
247 2013-09-20  Alan Modra  <amodra@gmail.com>
249         * configure: Regenerate.
251 2013-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
253         * configure.tgt: Remove *-*-*android* from supported targets.
255 2013-09-09  H.J. Lu  <hongjiu.lu@intel.com>
257         PR other/58374
258         * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
259         * configure: Regenerated.
261 2013-09-08  Caroline Tice  <cmtice@google.com>
263         * testsuite/event-main.cc:  Move to libvtv.cc subdirectory.
264         * testsuite/environment.cc: Ditto.
265         * testsuite/template-list2.cc: Ditto.
266         * testsuite/event.h: Ditto.
267         * testsuite/dataentry.cc: Ditto.
268         * testsuite/event-private.h: Ditto.
269         * testsuite/virtual_inheritance.cc: Ditto.
270         * testsuite/povray-derived.cc: Ditto.
271         * testsuite/nested_vcall_test.cc: Ditto.
272         * testsuite/template-list-iostream.cc: Ditto.
273         * testsuite/parts-test-extra-parts-views.h:  Ditto.
274         * testsuite/virtfunc-test.cc: Ditto.
275         * testsuite/parts-test-extra-parts.h: Ditto.
276         * testsuite/const_vtable.cc: Ditto.
277         * testsuite/template-list.cc: Ditto.
278         * testsuite/dup_name.cc: Ditto.
279         * testsuite/thunk.cc: Ditto.
280         * testsuite/parts-test-main.h: Ditto.
281         * testsuite/mul_inh.cc: Ditto.
282         * testsuite/test1.cc: Ditto.
283         * testsuite/bb_tests.cc: Ditto.
284         * testsuite/v8-test-2.cc: Ditto.
285         * testsuite/thunk_vtable_map_attack.cc: Ditto.
286         * testsuite/xlan-test.cc: Ditto.
287         * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
288         change file extension from .cc to .cpp.
289         * testsuite/event-definitions.cpp: Ditto.
290         * testsuite/event-main.cpp: Ditto.
291         * testsuite/derived-main.cpp: Ditto.
292         * testsuite/derived-lib.cpp: Ditto.
293         * testsuite/event-private.cpp: Ditto.
294         * testsuite/parts-test-extra-parts-views.cpp: Ditto.
295         * testsuite/parts-test-extra-parts.cpp: Ditto.
296         * testsuite/parts-test.list: Move to libvtv.cc subdirectory.  Change
297         file extensions inside file from .cc to .cpp.
298         * testsuite/event.list: Ditto.
299         * testsuite/derived.list: Ditto.
300         * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
301         register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
302         (KEY_TYPE_FIXED_SIZE): New define.
303         (key_buffer, name_string, fake_names): New global variables.
304         (generate_names): New function.
305         (vtv_string_hans): New function.
306         (main): Add call to generate_names. Update middle for-loop to
307         initialize new parameters for __VLTRegisterPair... calls; move calls
308         to __VLTRegisterPair... to middle for-loop. Add calls to
309         __VLTRegisterSet...
310         * testsuite/register_pair_mt.cc: Ditto; renamed to
311         register_set_pair_mt.cc
312         * testsuite/libvtv.cc/vtv.exp:  New file.
313         * testsuite/libvtv.mempool.cc/mempool.exp:  New file.
314         * testsuite/libvtv.mt.cc/mt.exp: New file.
315         * testsuite/lib/libvtv.exp:  New file.
316         * testsuite/lib/libvtv-dg.exp:  New file.
317         * testsuite/config/default.exp: New file.
318         * testsuite/Makefile.am:  New file. (Old file was moved to other-tests
319         subdirectory.)
320         * testsuite/Makefile.in: New file (generated).
321         * testsuite/mempool_negative.c: Change to C++ file; move to
322         libvtv.mempool.cc; include vtv-change-permission.h.
323         (main):  Add call to __VLTChangePermission.
324         * testsuite/mempool_positive.c: Change to C++ file; move to
325         libvtv.mempool.cc; include vtv-change-permission.h.
326         (main): Add call to __VLTChangePermission.
327         * testsuite/temp_deriv3.cc:  Move to other-tests subdirectory.
328         * testsuite/environment-fail-64.s: Ditto.
329         * testsutite/dlopen.cc: Ditto.
330         * testsuite/so.cc: Ditto.
331         * testsuite/temp_deriv2.cc: Ditto.
332         * testsuite/field-test.cc: Ditto.
333         * testsuite/dlopen_mt.cc: Ditto.
334         * testsuite/environment-fail-32.s: Ditto.
335         * testsuite/temp_deriv.cc: Ditto.
336         * testsuite/replace-fail.cc: Ditto.
337         * testsuite/other-tests/Makefile.am:  New file.  Copied from the
338         Makefile.am that used to be in testsuite directory.
339         * testsuite/other-tests/Makefile.in: Generated. (New file).
340         * testsuite/other-tests/README:  New file.
342 2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
344         * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
345         definition of check-am:.
346         * testsuite/Makefile.in: Regenerate.
348 2013-09-06  Caroline Tice  <cmtice@google.com>
350         * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
351         definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
352         * Makefile.in: Regenerate.
353         * configure.ac: Remove checks and tests for --enable-vtable-verify.
354         * configure: Regenerate.
356 2013-08-20  Caroline Tice  <cmtice@google.com>
358         * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
359         * Makefile.in: Regenerate.
360         * configure.ac: Add check for __secure_getenv and secure_getenv.
361         * configure: Regenerate.
362         * vtv_utils.cc : Include stdlib.h
363         (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
364         (log_dirs): Remove file static constant.
365         (__vtv_open_log):  Increase size of log file name.  Add the user
366         and process ids to the file name. Do not put the log files in /tmp.
367         Instead try to get the directory name from an environment variable; if
368         that fails try to use stderr.  Add O_NOFOLLOW to the flags
369         for 'open'.  Update function comment.
370         * vtv_rts.cc (log_memory_protection_data):  Remove %d from file name.
372 2013-08-08  Benjamin Kosnik  <bkoz@redhat.com>
373             Michael Meissner <meissner@linux.vnet.ibm.com>
375         * configure.tgt : Simplify, just use VTV_SUPPORTED.
377 2013-08-07  Benjamin Kosnik  <bkoz@redhat.com>
379         * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
380         * Makefile.in: Regenerate.
381         * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
382         * configure.ac: ...here. Make configure more verbose, re-order.
383         * configure: Regenerate.
385 2013-08-02  Caroline Tice  <cmtice@google.com>
386             Benjamin Kosnik  <bkoz@redhat.com>
387             Luis Lozano  <llozano@google.com>
388             Geoff Pike  <gpike@google.com>
390         Initial check-in of new vtable verification feature.
391         * configure.ac : New file.
392         * acinclude.m4 : New file.
393         * Makefile.am : New file.
394         * aclocal.m4 : New file.
395         * configure.tgt : New file.
396         * configure: New file (generated).
397         * Makefile.in: New file (generated).
398         * vtv_set.h : New file.
399         * vtv_utils.cc : New file.
400         * vtv_utils.h : New file.
401         * vtv_malloc.cc : New file.
402         * vtv_rts.cc : New file.
403         * vtv_malloc.h : New file.
404         * vtv_rts.h : New file.
405         * vtv_fail.cc : New file.
406         * vtv_fail.h : New file.
407         * vtv_map.h : New file.
408         * scripts/run-testsuite.sh : New file.
409         * scripts/sum-vtv-counts.c : New file.
410         * testsuite/parts-test-main.h : New file.
411         * testusite/dataentry.cc : New file.
412         * testsuite/temp_deriv.cc : New file.
413         * testsuite/register_pair.cc : New file.
414         * testsuite/virtual_inheritance.cc : New file.
415         * testsuite/field-test.cc : New file.
416         * testsuite/nested_vcall_test.cc : New file.
417         * testsuite/template-list-iostream.cc : New file.
418         * testsuite/register_pair_inserts.cc : New file.
419         * testsuite/register_pair_inserts_mt.cc : New file.
420         * testsuite/event.list : New file.
421         * testsuite/parts-test-extra-parts-views.cc : New file.
422         * testsuite/parts-test-extra-parts-views.h : New file.
423         * testsuite/environment-fail-32.s : New file.
424         * testsuite/parts-test-extra-parts.h : New file.
425         * testsuite/temp_deriv2.cc : New file.
426         * testsuite/dlopen_mt.cc : New file.
427         * testsuite/event.h : New file.
428         * testsuite/template-list.cc : New file.
429         * testsuite/replace-fail.cc : New file.
430         * testsuite/Makefile.am : New file.
431         * testsuite/Makefile.in: New file (generated).
432         * testsuite/mempool_negative.c : New file.
433         * testsuite/parts-test-main.cc : New file.
434         * testsuite/event-private.cc : New file.
435         * testsuite/thunk.cc : New file.
436         * testsuite/event-defintiions.cc : New file.
437         * testsuite/event-private.h : New file.
438         * testsuite/parts-test.list : New file.
439         * testusite/register_pair_mt.cc : New file.
440         * testsuite/povray-derived.cc : New file.
441         * testsuite/event-main.cc : New file.
442         * testsuite/environment.cc : New file.
443         * testsuite/template-list2.cc : New file.
444         * testsuite/thunk_vtable_map_attack.cc : New file.
445         * testsuite/parts-test-extra-parts.cc : New file.
446         * testsuite/environment-fail-64.s : New file.
447         * testsuite/dlopen.cc : New file.
448         * testsuite/so.cc : New file.
449         * testsuite/temp_deriv3.cc : New file.
450         * testsuite/const_vtable.cc : New file.
451         * testsuite/mempool_positive.c : New file.
452         * testsuite/dup_name.cc : New file.