mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-03 06:10:23 +00:00
Fix "use of" uninitialized memory in benchmark.
An argument to DoNotOptimize was not fully initialized, which caused msan to complain. llvm-svn: 346808
This commit is contained in:
parent
f8f12272e8
commit
9039b6012e
@ -48,7 +48,7 @@ struct AllOpacity : EnumValuesAsTuple<AllOpacity, Opacity, 2> {
|
||||
|
||||
struct S {
|
||||
int function() const { return 0; }
|
||||
int field;
|
||||
int field = 0;
|
||||
};
|
||||
|
||||
int FunctionWithS(const S*) { return 0; }
|
||||
|
Loading…
Reference in New Issue
Block a user