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