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