| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
BUG=464797
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/1264053002
Cr-Commit-Position: refs/heads/master@{#341235}
|
|
|
|
|
|
|
|
|
|
|
|
| |
In r237368, Clang started warning about mismatched operator new[] and delete
calls. This pacifies the warning by moving the operator new-call to a separate
function.
BUG=none
Review URL: https://codereview.chromium.org/1131513006
Cr-Commit-Position: refs/heads/master@{#330528}
|
|
|
|
|
|
|
|
|
| |
BUG=417463
TBR=danakj@chromium.org
Review URL: https://codereview.chromium.org/668783004
Cr-Commit-Position: refs/heads/master@{#300447}
|
|
|
|
|
|
|
|
| |
BUG=417463
Review URL: https://codereview.chromium.org/611153004
Cr-Commit-Position: refs/heads/master@{#298520}
|
|
|
|
|
|
|
|
|
|
| |
This causes build failure by macro redefinition on ASan-enabled build without -w flag.
BUG=162783
Review URL: https://codereview.chromium.org/389313002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283978 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=351259
R=phajdan@chromium.org
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/339893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279994 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will allows to induce ASan crashes in the browser and in the renderer processes, this is really useful when trying to debug an ASan crash (to make sure that the build is really instrumented).
This code add the following crash urls to chrome:
chrome://crash/browser-heap-overflow
chrome://crash/browser-heap-underflow
chrome://crash/browser-use-after-free
chrome://crash/browser-corrupt-heap-block
chrome://crash/browser-corrupt-heap
Those URLs induce a crash in the browser process, while those:
chrome://crash/heap-overflow
chrome://crash/heap-underflow
chrome://crash/use-after-free
chrome://crash/corrupt-heap-block
chrome://crash/corrupt-heap
induce a crash in the renderer process.
We need this because as these process use a different DLL (chrome.dll vs
chrome_child.dll) one of them could be ASan-instrumented while the other one
isn't... So the current code in renderer/ is useless for the browser-only
instrumented builds...
BUG=
Review URL: https://codereview.chromium.org/306753003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277201 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Reland https://codereview.chromium.org/276493002: Enable ToolsSanityTest.SingleElementDeletedWithBraces and ToolsSanityTest.ArrayDeletedWithoutBraces under AddressSanitizer on Linux.
>
> Also make sure the tests aren't disabled under non-ASan on OSX.
>
> BUG=172614
> TBR=thakis@chromium.org
>
> Review URL: https://codereview.chromium.org/282843003
TBR=glider@chromium.org
Review URL: https://codereview.chromium.org/288723003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270412 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ToolsSanityTest.SingleElementDeletedWithBraces and ToolsSanityTest.ArrayDeletedWithoutBraces under AddressSanitizer on Linux.
Also make sure the tests aren't disabled under non-ASan on OSX.
BUG=172614
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/282843003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It breaks sanity checks of base_unittests on Mac (Valgrind)(1) bot:
http://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20Mac%20%28valgrind%29%281%29/builds/27512
08:30:53 memcheck_analyze.py [ERROR] FAIL! Sanity check failed!
08:30:53 memcheck_analyze.py [INFO] The following test errors were not handled:
08:30:53 memcheck_analyze.py [INFO] * 1x Memcheck sanity test 13 (single element deleted with []).
08:30:53 memcheck_analyze.py [INFO] * 1x Memcheck sanity test 12 (array deleted without []).
> Enable ToolsSanityTest.SingleElementDeletedWithBraces and ToolsSanityTest.ArrayDeletedWithoutBraces under AddressSanitizer on Linux.
> Make the tests free the memory to avoid leak reports from LSan.
>
> BUG=172614
> R=thakis@chromium.org
>
> Review URL: https://codereview.chromium.org/276493002
TBR=glider@chromium.org
Review URL: https://codereview.chromium.org/282733007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270164 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ToolsSanityTest.ArrayDeletedWithoutBraces under AddressSanitizer on Linux.
Make the tests free the memory to avoid leak reports from LSan.
BUG=172614
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/276493002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270087 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=357024
Review URL: https://codereview.chromium.org/217023002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260188 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We've seen different failure related to the fact that we use the same flag without providing the same API and functionality.
BUG=
TBR=jamesr
Review URL: https://codereview.chromium.org/212643015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259855 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=178409
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/139723002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245142 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to allow regex matches in gtest to be shared between Windows and other
systems, we tell gtest to always use it's internal engine.
The syntax supported by the internal engine initially looks like a subset of
POSIX regexs. However character class shortcuts are not valid POSIX.
Even more confusingly the system POSIX regex function often defines extra
features not actually part of the standard allowing regex that work on Linux
fail on Mac OS X.
A search through the code base did not reveal any locations where features not
supported by the internal regex engine where used.
See bug https://code.google.com/p/chromium/issues/detail?id=317224 for more detailed description.
BUG=317224
Review URL: https://codereview.chromium.org/55983002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241500 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"""
> Make gtest always use simple internal regex engine.
>
> In order to allow regex matches in gtest to be shared between Windows and other
> systems, we tell gtest to always use it's internal engine.
>
> The syntax supported by the internal engine initially looks like a subset of
> POSIX regexs. However character class shortcuts are not valid POSIX.
>
> Even more confusingly the system POSIX regex function often defines extra
> features not actually part of the standard allowing regex that work on Linux
> fail on Mac OS X.
>
> A search through the code base did not reveal any locations where features not
> supported by the internal regex engine where used.
>
> See bug https://code.google.com/p/chromium/issues/detail?id=317224 for more detailed description.
>
> BUG=317224
>
> Review URL: https://codereview.chromium.org/55983002
TBR=mithro@mithis.com
Review URL: https://codereview.chromium.org/107853004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to allow regex matches in gtest to be shared between Windows and other
systems, we tell gtest to always use it's internal engine.
The syntax supported by the internal engine initially looks like a subset of
POSIX regexs. However character class shortcuts are not valid POSIX.
Even more confusingly the system POSIX regex function often defines extra
features not actually part of the standard allowing regex that work on Linux
fail on Mac OS X.
A search through the code base did not reveal any locations where features not
supported by the internal regex engine where used.
See bug https://code.google.com/p/chromium/issues/detail?id=317224 for more detailed description.
BUG=317224
Review URL: https://codereview.chromium.org/55983002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239423 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=260807
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19224003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212281 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
on the heap instead of stack.
For some reason the test interferes with others and the race on the stack variable gets ignored.
BUG=223016
TBR=thestig,darin
Review URL: https://codereview.chromium.org/13040003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190002 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ToolsSanityTest.SingleElementDeletedWithBraces
under AddressSanitizer. Newer ASan detects an error in them, while older ones do not. We turn these tests
off until the transition is finished.
BUG=172614
TBR=brettw
TEST=base_unittests remain green after the Clang roll.
Review URL: https://codereview.chromium.org/12089018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179325 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The way we report an asan error is different on Windows, we use a RPC server to be able to get stack traces etc from the sandboxed processes. This make the tools sanity tests to fail on Windows. We should have some specific tests for Windows, but for now we should disable those tests on Windows.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11753029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176705 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=mark
Review URL: https://codereview.chromium.org/11272008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163826 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=128264
TEST=ToolsSanityTest under valgrind
TBR=jar
Review URL: https://chromiumcodereview.appspot.com/10383208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/10004001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131098 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=108171
TEST=
Review URL: http://codereview.chromium.org/9055001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116065 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8491013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108994 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It looks like clang recently learned how to optimize away more stuff.
This should hopefully fix Memcheck sanity test 1.
BUG=102355
TEST=Bots on the memory.fyi waterfall go green
Review URL: http://codereview.chromium.org/8429008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108095 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
the tests are built correctly.
Review URL: http://codereview.chromium.org/8240010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105108 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/8116028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=87490
TEST=compile with gcc 4.6
Review URL: http://codereview.chromium.org/8050008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103513 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See http://code.google.com/p/chromium/issues/detail?id=96945#c4
Not the nicest patch, but it's what we get for writing tests that
explicitly rely on undefined behavior with optimizations enabled.
BUG=96945
TEST=valgrind sanity tests 14 and 15 go green on the mac memory bot
Review URL: http://codereview.chromium.org/7931012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101700 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Hopefully fixes Memcheck sanity tests 12 and 13.
BUG=96945
TEST=none
Review URL: http://codereview.chromium.org/7931006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101698 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) A test that makes sure we handle annotations correctly (BenignRace)
2) A test that makes sure we correctly use the ignore file
These tests will help us in investigating
http://code.google.com/p/chromium/issues/detail?id=82114
and prevent further mis-handling appear misteriously.
BUG=82114
TEST=./tools/valgrind/chrome_tests.sh -t base --tool tsan --gtest_filter="*Sanity*"
Review URL: http://codereview.chromium.org/6994009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84812 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
for these tests.
TEST=DrM bot shouldn't be affected after landing this. Before DrM r175 it would crash
BUG=http://code.google.com/p/drmemory/issues/detail?id=51
TBR=bruening
Review URL: http://codereview.chromium.org/6538092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75598 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/6028009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70345 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
stub and "using" declarations in the old location to avoid having to change the
entire project at once.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/6001010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70342 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
unconditionally.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3838006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62992 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files. **
Revert 62959 - Convert LOG(INFO) to VLOG(1) - base/.
Also removes an "else" after "return" and aligns "<<" per style guide.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3845002
TBR=pkasting@chromium.org
Review URL: http://codereview.chromium.org/3850006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62981 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Also removes an "else" after "return" and aligns "<<" per style guide.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3845002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62959 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
local functions into an anonymous namespace) and made the necessary changes to
sanity suppressions.
Review URL: http://codereview.chromium.org/3765002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62521 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
tests on Windows.
TBR=glider
Review URL: http://codereview.chromium.org/3616001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61171 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=phajdan.jr,glider
Review URL: http://codereview.chromium.org/3413032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60272 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TEST=./tools/valgrind/chrome_tests.sh -t base --gtest_filter="Sanity*" on Linux and Mac
Review URL: http://codereview.chromium.org/3470006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60271 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=tim
Review URL: http://codereview.chromium.org/2818018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=19775
TBR=tim
Review URL: http://codereview.chromium.org/2870016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50350 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=timurrrr
Review URL: http://codereview.chromium.org/2758008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49525 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Suppress bug 46345
BUG=46345,46343
TBR=jam,darin
Review URL: http://codereview.chromium.org/2779017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49524 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1992005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47252 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/1242008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42751 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
fast?)
TBR=glider
TEST=TSAN x64 FYI bot should become green
Review URL: http://codereview.chromium.org/668176
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40778 0039d316-1c4b-4281-b951-d872f2087c98
|