[libFuzzer] Place volatile after pointer types.
authorMatt Morehouse <mascasa@google.com>
Tue, 27 Mar 2018 16:40:20 +0000 (16:40 +0000)
committerMatt Morehouse <mascasa@google.com>
Tue, 27 Mar 2018 16:40:20 +0000 (16:40 +0000)
commit22a1afd99fd0d0390f3db0d7c2f821592f90d62b
tree143f079b45faf08dbde50dfbfc915167bd4dcc0b
parent5d93fdfa898fb1fcfd574770362e5c79ba2deb2b
[libFuzzer] Place volatile after pointer types.

For a few tests, volatile was placed before the '*' in pointer
declarations, resulting in it applying to the underlying data rather
than the pointer itself.  Placing volatile after the '*' allows us to
switch those tests to -O2.

llvm-svn: 328633
compiler-rt/test/fuzzer/LeakTest.cpp
compiler-rt/test/fuzzer/ThreadedLeakTest.cpp
compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
compiler-rt/test/fuzzer/fuzzer-leak.test
compiler-rt/test/fuzzer/trace-malloc-threaded.test