Petar Jovanovic
5dd4c02e39
mips: adding MIPS64LE support to Valgrind
...
Necessary changes to Valgrind to support MIPS64LE on Linux.
Minor cleanup/style changes embedded in the patch as well.
The change corresponds to r2687 in VEX.
Patch written by Dejan Jevtic and Petar Jovanovic.
More information about this issue:
https://bugs.kde.org/show_bug.cgi?id=313267
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13292
2013-02-27 23:17:33 +00:00
Bart Van Assche
0ab171e889
drd: Make --trace-addr trace all loads for the specified address
...
Thanks to Florian for reporting this.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13271
2013-01-27 10:58:47 +00:00
Julian Seward
eca44c4855
Teach DRD about IRLoadG and IRStoreG. Includes small bug fix from
...
trunk r13209.
git-svn-id: svn://svn.valgrind.org/valgrind/branches/COMEM@13210
2012-12-27 17:47:09 +00:00
Florian Krohm
d0aa69c331
Fix more Char/HChar mixups. Closing in...
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13119
2012-11-10 22:29:54 +00:00
Florian Krohm
7d59048401
This is the 2nd installment of the cache info reorganisation.
...
The host's VexArchInfo is passed to the tool instrumentation
functions. Purely mechanic patch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13031
2012-10-07 21:59:42 +00:00
Julian Seward
4a3633e266
Update copyright dates to include 2012.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843
2012-08-05 15:46:46 +00:00
Julian Seward
3e344c57f6
Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
...
mips-valgrind@rt-rk.com , Bug 270777.
Valgrind: changes to existing files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12616
2012-06-07 09:13:21 +00:00
Julian Seward
8b6f93641c
Add translation chaining support for amd64, x86 and ARM
...
(Valgrind side). See #296422 .
git-svn-id: svn://svn.valgrind.org/valgrind/branches/TCHAIN@12484
2012-04-02 21:56:03 +00:00
Bart Van Assche
f244dcefb6
drd: Reenable reporting races on stack variables that are shared over threads for --check-stack-var=yes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12475
2012-04-01 15:06:57 +00:00
Bart Van Assche
8e19567a85
drd: Don't complain about stack variables that are shared over threads. Closes #297147
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12474
2012-04-01 14:40:16 +00:00
Bart Van Assche
1351e4ccc9
DRD, load/store tracing: avoid evaluating the address expression twice
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12310
2011-12-17 12:59:45 +00:00
Bart Van Assche
09bb951cba
drd --trace-addr: make tracing 64-bit values on a 32-bit platform work
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12305
2011-12-13 11:12:05 +00:00
Bart Van Assche
5bf8c1dd8c
DRD, --trace-addr: enable support for Ity_F32 and Ity_F64 / temporarily disable support for 64-bit CAS on 32-bit platforms
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12304
2011-12-13 08:53:23 +00:00
Bart Van Assche
80dda4d67f
DRD: Eliminate a temporary variable
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12303
2011-12-13 08:05:07 +00:00
Bart Van Assche
bbc7e3587a
DRD: rearrange the definition of u_widen_irop[][]
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12300
2011-12-12 19:54:32 +00:00
Bart Van Assche
f828c246a6
DRD: make the tracing regression test more complete
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12298
2011-12-12 19:37:10 +00:00
Bart Van Assche
552758fd18
DRD: Make the code for instrumenting store operations more robust
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12297
2011-12-12 19:18:26 +00:00
Bart Van Assche
f7fb5bb661
Remove trailing whitespace
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12293
2011-12-11 20:34:03 +00:00
Bart Van Assche
606de3587f
DRD: Make --trace-addr work for atomic loads and stores. To do: update manual
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12291
2011-12-11 20:17:57 +00:00
Bart Van Assche
ffcd373429
DRD, --trace-addr: trace stored values too
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12290
2011-12-11 18:49:39 +00:00
Bart Van Assche
c885ce22ef
DRD: Two non-functional changes: adjust source code indentation and fix
...
second argument of unsafeIRDirty_0_N() in the memory access tracing code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12288
2011-12-11 17:54:17 +00:00
Bart Van Assche
12ec9d298a
Remove emacs modeline and/or local variables from DRD source files
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12279
2011-12-04 15:54:19 +00:00
Bart Van Assche
45e4d0e7ee
drd, XML tracing: move newline generation into DRD_(trace_msg)() / change tracing output format slightly.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12146
2011-10-13 18:04:30 +00:00
Bart Van Assche
c05ada3180
drd: Convert a few VG_(message)() calls into VG_(maybe_record_error)() calls
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12121
2011-10-08 08:54:57 +00:00
Bart Van Assche
9d1823dac9
DRD, refactoring: Introduce DRD_(trace_msg)()
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12120
2011-10-08 08:29:29 +00:00
Bart Van Assche
e53eb1ec0c
Updated modeline and copyright statement in DRD source files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11642
2011-03-13 12:02:44 +00:00
Julian Seward
6107fd666c
Add a port to IBM z/Architecture (s390x) running Linux -- Valgrind
...
side components. (Florian Krohm <britzel@acm.org> and Christian
Borntraeger <borntraeger@de.ibm.com>). Fixes #243404 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11604
2011-03-07 16:05:35 +00:00
Bart Van Assche
ad86d78a6c
E-mail address update.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11420
2010-10-10 18:07:31 +00:00
Bart Van Assche
825e4ce703
Builds again with ENABLE_DRD_CONSISTENCY_CHECKS defined.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11328
2010-09-02 14:44:17 +00:00
Bart Van Assche
d8a4b467a2
Source code cleanup.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11302
2010-08-29 09:51:06 +00:00
Bart Van Assche
a1d51679d9
Added command-line option --trace-alloc and disabled --free-is-write by default.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11301
2010-08-29 09:19:07 +00:00
Julian Seward
9b0574dff8
Update copyright dates to 2010.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121
2010-05-03 21:37:12 +00:00
Bart Van Assche
d0bb010178
Removed trailing whitespace in C source and header files.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11052
2010-02-21 14:52:59 +00:00
Julian Seward
88b497ecdf
Make Callgrind, DRD and Ptrcheck build on arm-linux.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10985
2010-01-01 18:31:41 +00:00
Julian Seward
be9f7279ce
Track vex r1930 (Change the IR representation of load linked and store
...
conditional.) Completes the fix of #215771 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10957
2009-11-26 17:20:21 +00:00
Julian Seward
d7ed7f6a13
(almost completely just function renaming):
...
* VG_(find_seginfo): incrementally rearrange the DebugInfo list, like
most of the other list-searching functions do.
* rename all VG_(*seginfo*) functions exported from m_debuginfo to
VG_(*DebugInfo*). "seginfo" was a historical name which was mostly
but not completely, done away with some time back.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10678
2009-07-31 09:41:29 +00:00
Bart Van Assche
511096144e
DRD no longer prints the thread ID's assigned by the Valgrind core but only those assigned by DRD itself.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10488
2009-07-19 17:53:56 +00:00
Julian Seward
c020a7e3b6
Merge drd/ changes from branches/MESSAGING_TIDYUP r10464.
...
See trunk r10465 commit message for details.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10466
2009-07-15 14:49:17 +00:00
Bart Van Assche
5f83d3907f
Clarified an implementation choice.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10429
2009-07-11 14:35:59 +00:00
Julian Seward
3109865279
Merge in branches/DCAS.
...
This branch adds proper support for atomic instructions, proper in the
sense that the atomicity is preserved through the compilation
pipeline, and thus in the instrumented code.
These changes track the IR changes added by vex r1901. They primarily
update the instrumentation functions in all tools to handle the
changes, with the exception of exp-ptrcheck, which needs some further
work in order to be able to run threaded code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10392
2009-07-01 08:10:49 +00:00
Bart Van Assche
e34229bd49
svn merge -r9818:10278 svn://svn.valgrind.org/valgrind/branches/DRDDEV
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10279
2009-06-08 18:20:42 +00:00
Bart Van Assche
e73284e37f
- Added support for most of the ANNOTATE_...() macro's supported by
...
ThreadSanitizer.
- Modified DRD's error reporting code such that it does no longer let
the Valgrind core print the Valgrind thread ID but that it now prints
the DRD thread ID and name. Updated expected output files where
necessary.
- Modified drd/test/Makefile.am such that the tests using gcc's built-in
functions for atomic memory access such that these are only compiled when
the gcc version in use supports these built-in functions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10186
2009-05-31 18:53:54 +00:00
Bart Van Assche
aecdc83882
Added command-line option --first-race-only.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9728
2009-05-03 17:17:37 +00:00
Bart Van Assche
219e77b9bc
- Reindented code such that it uses three spaces for indentation instead
...
of two. The indentation of the DRD source code is now consistent with
the other Valgrind source files.
- Added emacs mode line with indentation settings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9496
2009-03-26 19:07:15 +00:00
Bart Van Assche
b71a8e5966
- Updated copyright statements.
...
- Improved consistency of source file headers.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9182
2009-02-16 19:43:56 +00:00
Bart Van Assche
737b0449dc
Wrapped DRD_() macro around yet even more function names.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9172
2009-02-15 15:59:20 +00:00
Bart Van Assche
8dd5b6ceb8
Wrapped DRD_() macro around thread-related function names.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9168
2009-02-15 13:11:14 +00:00
Bart Van Assche
c5f4cc3cf1
Wrapped DRD_() macro around all vector clock function names.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9159
2009-02-14 16:55:19 +00:00
Bart Van Assche
498c9afeb5
Introduced more DRD_ prefixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9158
2009-02-14 16:10:53 +00:00
Bart Van Assche
9353dd404e
- Moved several functions and variables from one source file to another.
...
- Created two new source files: drd_load_store.h and .c.
- Removed the header file drd_track.h.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9153
2009-02-14 15:13:31 +00:00