* tree-if-conv.c: Fix various typos in comments.
[official-gcc.git] / libvtv / ChangeLog
blob612c660d668c12f8202a31db96dd480ab44539b3
1 2015-08-01  Caroline Tice  <cmtice@google.com>
3         PR 66521
4         * Makefile.am:  Update to match latest tree.
5         * Makefile.in: Regenerate.
6         * testsuite/lib/libvtv: Brought up to date.
7         * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
8         function (old bug!).
9         * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
10         initializations to work correctly with VTV_DEBUG defined.
12 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
14         * Makefile.in: Regenerated with automake-1.11.6.
15         * aclocal.m4: Likewise.
16         * configure: Likewise.
17         * testsuite/Makefile.in: Likewise.
18         * testsuite/other-tests/Makefile.in: Likewise.
20 2015-02-09  Thomas Schwinge  <thomas@codesourcery.com>
22         * Makefile.in: Regenerate.
23         * aclocal.m4: Likewise.
24         * configure: Likewise.
25         * testsuite/Makefile.in: Likewise.
27 2015-01-29  Caroline Tice  <cmtice@google.com>
29         Committing VTV Cywin/Ming patch for Patrick Wollgast
30         * libvtv/Makefile.in : Regenerate.
31         * libvtv/configure : Regenerate.
33 2015-01-28  Caroline Tice  <cmtice@google.com>
35         Committing VTV Cywin/Ming patch for Patrick Wollgast
36         * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if
37         VTV_CYGMIN is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS,
38         libvtv_stubs_la_LDFLAGS and libvtv_stubs_la_SOURCES if VTV_CYGMIN is
39         set. Add obstac.c to libvtv_la_SOURCES if VTV_CYGMIN is set.
40         * libvtv/aclocal.m4 : Regenerate.
41         * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
42         * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*,
43         x86_64-*-mingw*)
44         (i?86-*-mingw*): Add to supported targets.
45         * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
46         (log_error_message): Skip calls to backtrace and backtrace_symbols_fd
47         on Cygwin and MinGW.
48         * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h
49         inclusion on Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
50         (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc
51         on Cygwin and MinGW.
52         (__vtv_malloc_init): Exchange call to sysconf with call to port of
53         sysconf on Cygwin and MinGW.
54         * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and
55         PROT_WRITE on Cygwin and MinGW.
56         * libvtv/map.h : Include stdint.h on MinGW.
57         * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
58         include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
59         port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
60         uintptr_t on Cygwin and MinGW.
61         (read_section_offset_and_length): Add port for Cygwin and MinGW
62         (iterate_modules): New function.
63         (vtv_unprotect_vtable_vars): Use iterate_modules instead of
64         dl_iterate_phdr on Cygwin and MinGW.
65         (vtv_protect_vtable_vars): Likewise.
66         (count_all_pages): Likewise.
67         (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
68         * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
69          Cygwin and MinGW.
70         (__vtv_open_log): Exchange call to getuid and getpid with
71         GetCurrentProcessId and adjust call to snprintf accordingly on Cygwin
72         and MinGW.  Adjust calls to mkdir on MinGW.  Adjust call to open on
73         Cygwin and MinGW.
74         (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
75         (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin
76         and MinGW.
78 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
80         * testsuite/lib/libvtv.exp: Load target-utils.exp
82 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
84         PR bootstrap/63784
85         * configure: Regenerated.
87 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
89         PR target/63610
90         * configure: Regenerate.
92 2013-09-25 Caroline Tice  <cmtice@google.com>
94         * Makefile.am: Reinstate ENABLE_VTABLE_VERIFY checks, to make
95         sure testsuite is not run if libstdc++ and libgcc were not built
96         with vtable verification.
97         * Makefile.in: Regenerated.
98         * configure.ac: Reinstate checks for --enable-vtable-verify flag,
99         to make sure testsuite is not run if libstdc++ and libgcc were not
100         built with vtable verification.
101         * configure: Regenerated.
103 2013-09-24  Caroline Tice  <cmtice@google.com>
105         * Makefile.am:  Change libvtv_includedir to the directory used by
106         the other libraries rather than the top include directory.
107         * Makefile.in: Regenerated.
109 2013-09-20  Alan Modra  <amodra@gmail.com>
111         * configure: Regenerate.
113 2013-09-12  Alexander Ivchenko  <alexander.ivchenko@intel.com>
115         * configure.tgt: Remove *-*-*android* from supported targets.
117 2013-09-09  H.J. Lu  <hongjiu.lu@intel.com>
119         PR other/58374
120         * configure.ac: Move VTV_SUPPORTED check after AC_CANONICAL_SYSTEM.
121         * configure: Regenerated.
123 2013-09-08  Caroline Tice  <cmtice@google.com>
125         * testsuite/event-main.cc:  Move to libvtv.cc subdirectory.
126         * testsuite/environment.cc: Ditto.
127         * testsuite/template-list2.cc: Ditto.
128         * testsuite/event.h: Ditto.
129         * testsuite/dataentry.cc: Ditto.
130         * testsuite/event-private.h: Ditto.
131         * testsuite/virtual_inheritance.cc: Ditto.
132         * testsuite/povray-derived.cc: Ditto.
133         * testsuite/nested_vcall_test.cc: Ditto.
134         * testsuite/template-list-iostream.cc: Ditto.
135         * testsuite/parts-test-extra-parts-views.h:  Ditto.
136         * testsuite/virtfunc-test.cc: Ditto.
137         * testsuite/parts-test-extra-parts.h: Ditto.
138         * testsuite/const_vtable.cc: Ditto.
139         * testsuite/template-list.cc: Ditto.
140         * testsuite/dup_name.cc: Ditto.
141         * testsuite/thunk.cc: Ditto.
142         * testsuite/parts-test-main.h: Ditto.
143         * testsuite/mul_inh.cc: Ditto.
144         * testsuite/test1.cc: Ditto.
145         * testsuite/bb_tests.cc: Ditto.
146         * testsuite/v8-test-2.cc: Ditto.
147         * testsuite/thunk_vtable_map_attack.cc: Ditto.
148         * testsuite/xlan-test.cc: Ditto.
149         * testsuite/parts-test-main.cpp: Move to libvtv.cc subdirectory and
150         change file extension from .cc to .cpp.
151         * testsuite/event-definitions.cpp: Ditto.
152         * testsuite/event-main.cpp: Ditto.
153         * testsuite/derived-main.cpp: Ditto.
154         * testsuite/derived-lib.cpp: Ditto.
155         * testsuite/event-private.cpp: Ditto.
156         * testsuite/parts-test-extra-parts-views.cpp: Ditto.
157         * testsuite/parts-test-extra-parts.cpp: Ditto.
158         * testsuite/parts-test.list: Move to libvtv.cc subdirectory.  Change
159         file extensions inside file from .cc to .cpp.
160         * testsuite/event.list: Ditto.
161         * testsuite/derived.list: Ditto.
162         * testsuite/register_pair.cc: Move to libvtv.cc; rename file to
163         register_set_pair.cc; include stdlib.h, stdio.h stdint.h string.h
164         (KEY_TYPE_FIXED_SIZE): New define.
165         (key_buffer, name_string, fake_names): New global variables.
166         (generate_names): New function.
167         (vtv_string_hans): New function.
168         (main): Add call to generate_names. Update middle for-loop to
169         initialize new parameters for __VLTRegisterPair... calls; move calls
170         to __VLTRegisterPair... to middle for-loop. Add calls to
171         __VLTRegisterSet...
172         * testsuite/register_pair_mt.cc: Ditto; renamed to
173         register_set_pair_mt.cc
174         * testsuite/libvtv.cc/vtv.exp:  New file.
175         * testsuite/libvtv.mempool.cc/mempool.exp:  New file.
176         * testsuite/libvtv.mt.cc/mt.exp: New file.
177         * testsuite/lib/libvtv.exp:  New file.
178         * testsuite/lib/libvtv-dg.exp:  New file.
179         * testsuite/config/default.exp: New file.
180         * testsuite/Makefile.am:  New file. (Old file was moved to other-tests
181         subdirectory.)
182         * testsuite/Makefile.in: New file (generated).
183         * testsuite/mempool_negative.c: Change to C++ file; move to
184         libvtv.mempool.cc; include vtv-change-permission.h.
185         (main):  Add call to __VLTChangePermission.
186         * testsuite/mempool_positive.c: Change to C++ file; move to
187         libvtv.mempool.cc; include vtv-change-permission.h.
188         (main): Add call to __VLTChangePermission.
189         * testsuite/temp_deriv3.cc:  Move to other-tests subdirectory.
190         * testsuite/environment-fail-64.s: Ditto.
191         * testsutite/dlopen.cc: Ditto.
192         * testsuite/so.cc: Ditto.
193         * testsuite/temp_deriv2.cc: Ditto.
194         * testsuite/field-test.cc: Ditto.
195         * testsuite/dlopen_mt.cc: Ditto.
196         * testsuite/environment-fail-32.s: Ditto.
197         * testsuite/temp_deriv.cc: Ditto.
198         * testsuite/replace-fail.cc: Ditto.
199         * testsuite/other-tests/Makefile.am:  New file.  Copied from the
200         Makefile.am that used to be in testsuite directory.
201         * testsuite/other-tests/Makefile.in: Generated. (New file).
202         * testsuite/other-tests/README:  New file.
204 2013-09-07  Paolo Carlini  <paolo.carlini@oracle.com>
206         * testsuite/Makefile.am: Remove #if ENABLE_VTABLE_VERIFY check around
207         definition of check-am:.
208         * testsuite/Makefile.in: Regenerate.
210 2013-09-06  Caroline Tice  <cmtice@google.com>
212         * Makefile.am: Remove #if ENABLE_VTABLE_VERIFY checks around
213         definitions of SUBDIRS, libvtv_la_SOURCES and libvtv_include_HEADERS.
214         * Makefile.in: Regenerate.
215         * configure.ac: Remove checks and tests for --enable-vtable-verify.
216         * configure: Regenerate.
218 2013-08-20  Caroline Tice  <cmtice@google.com>
220         * Makefile.am (DEFS): Add "@DEFS@", to inherit defintions.
221         * Makefile.in: Regenerate.
222         * configure.ac: Add check for __secure_getenv and secure_getenv.
223         * configure: Regenerate.
224         * vtv_utils.cc : Include stdlib.h
225         (HAVE_SECURE_GETENV): Add checks and definitions for secure_getenv.
226         (log_dirs): Remove file static constant.
227         (__vtv_open_log):  Increase size of log file name.  Add the user
228         and process ids to the file name. Do not put the log files in /tmp.
229         Instead try to get the directory name from an environment variable; if
230         that fails try to use stderr.  Add O_NOFOLLOW to the flags
231         for 'open'.  Update function comment.
232         * vtv_rts.cc (log_memory_protection_data):  Remove %d from file name.
234 2013-08-08  Benjamin Kosnik  <bkoz@redhat.com>
235             Michael Meissner <meissner@linux.vnet.ibm.com>
237         * configure.tgt : Simplify, just use VTV_SUPPORTED.
239 2013-08-07  Benjamin Kosnik  <bkoz@redhat.com>
241         * Makefile.am (SUBDIRS): Protect with ENABLE_VTABLE_VERIFY.
242         * Makefile.in: Regenerate.
243         * acinclude.m4 (LIBVTV_CONFIGURE): Move parts to..
244         * configure.ac: ...here. Make configure more verbose, re-order.
245         * configure: Regenerate.
247 2013-08-02  Caroline Tice  <cmtice@google.com>
248             Benjamin Kosnik  <bkoz@redhat.com>
249             Luis Lozano  <llozano@google.com>
250             Geoff Pike  <gpike@google.com>
252         Initial check-in of new vtable verification feature.
253         * configure.ac : New file.
254         * acinclude.m4 : New file.
255         * Makefile.am : New file.
256         * aclocal.m4 : New file.
257         * configure.tgt : New file.
258         * configure: New file (generated).
259         * Makefile.in: New file (generated).
260         * vtv_set.h : New file.
261         * vtv_utils.cc : New file.
262         * vtv_utils.h : New file.
263         * vtv_malloc.cc : New file.
264         * vtv_rts.cc : New file.
265         * vtv_malloc.h : New file.
266         * vtv_rts.h : New file.
267         * vtv_fail.cc : New file.
268         * vtv_fail.h : New file.
269         * vtv_map.h : New file.
270         * scripts/run-testsuite.sh : New file.
271         * scripts/sum-vtv-counts.c : New file.
272         * testsuite/parts-test-main.h : New file.
273         * testusite/dataentry.cc : New file.
274         * testsuite/temp_deriv.cc : New file.
275         * testsuite/register_pair.cc : New file.
276         * testsuite/virtual_inheritance.cc : New file.
277         * testsuite/field-test.cc : New file.
278         * testsuite/nested_vcall_test.cc : New file.
279         * testsuite/template-list-iostream.cc : New file.
280         * testsuite/register_pair_inserts.cc : New file.
281         * testsuite/register_pair_inserts_mt.cc : New file.
282         * testsuite/event.list : New file.
283         * testsuite/parts-test-extra-parts-views.cc : New file.
284         * testsuite/parts-test-extra-parts-views.h : New file.
285         * testsuite/environment-fail-32.s : New file.
286         * testsuite/parts-test-extra-parts.h : New file.
287         * testsuite/temp_deriv2.cc : New file.
288         * testsuite/dlopen_mt.cc : New file.
289         * testsuite/event.h : New file.
290         * testsuite/template-list.cc : New file.
291         * testsuite/replace-fail.cc : New file.
292         * testsuite/Makefile.am : New file.
293         * testsuite/Makefile.in: New file (generated).
294         * testsuite/mempool_negative.c : New file.
295         * testsuite/parts-test-main.cc : New file.
296         * testsuite/event-private.cc : New file.
297         * testsuite/thunk.cc : New file.
298         * testsuite/event-defintiions.cc : New file.
299         * testsuite/event-private.h : New file.
300         * testsuite/parts-test.list : New file.
301         * testusite/register_pair_mt.cc : New file.
302         * testsuite/povray-derived.cc : New file.
303         * testsuite/event-main.cc : New file.
304         * testsuite/environment.cc : New file.
305         * testsuite/template-list2.cc : New file.
306         * testsuite/thunk_vtable_map_attack.cc : New file.
307         * testsuite/parts-test-extra-parts.cc : New file.
308         * testsuite/environment-fail-64.s : New file.
309         * testsuite/dlopen.cc : New file.
310         * testsuite/so.cc : New file.
311         * testsuite/temp_deriv3.cc : New file.
312         * testsuite/const_vtable.cc : New file.
313         * testsuite/mempool_positive.c : New file.
314         * testsuite/dup_name.cc : New file.