Bug 357014 - Helgrind regression tests do not match expected results if compiled with intel compiler
Summary: Helgrind regression tests do not match expected results if compiled with inte...
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: helgrind (show other bugs)
Version: 3.10 SVN
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 18:50 UTC by Tanya
Modified: 2016-04-09 12:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Proposed patch (985.32 KB, patch)
2015-12-21 18:50 UTC, Tanya
Details
Differences between proposed .exp-icc files and corresponding .exp files (198.46 KB, patch)
2015-12-21 18:51 UTC, Tanya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanya 2015-12-21 18:50:47 UTC
Created attachment 96242 [details]
Proposed patch

Several helgrind tests do not produce the expected results if Valgrind is compiled with Intel compiler. The reason is that expected results contain call stacks of helgrind functions. On Intel compilation, one of the functions in the call stack is optimized out (due to tail call elimination), so the call stack appears to be different.
The proposed patch adds alternate expected test results with a modified call stack.
The differences between added .exp-icc files and corresponding .exp files are listed in helgrind_deltas.diff file.
One of Valgrind suppression rules relies on this call stack, too. The proposed patch adds a suppression rule that relies on the intel-specific call stack for Intel-compiled version of Valgrind.
Comment 1 Tanya 2015-12-21 18:51:22 UTC
Created attachment 96243 [details]
Differences between proposed .exp-icc files and corresponding .exp files