mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
[esan] Remove global variable.
It's not thread safe and completely unnecessary. llvm-svn: 284520
This commit is contained in:
parent
bfb0a8ea75
commit
a424fc3b0e
@ -102,7 +102,7 @@ static const char *const EsanWhichToolName = "__esan_which_tool";
|
|||||||
struct ShadowMemoryParams {
|
struct ShadowMemoryParams {
|
||||||
uint64_t ShadowMask;
|
uint64_t ShadowMask;
|
||||||
uint64_t ShadowOffs[3];
|
uint64_t ShadowOffs[3];
|
||||||
} ShadowParams;
|
};
|
||||||
|
|
||||||
static const ShadowMemoryParams ShadowParams47 = {
|
static const ShadowMemoryParams ShadowParams47 = {
|
||||||
0x00000fffffffffffull,
|
0x00000fffffffffffull,
|
||||||
@ -230,6 +230,7 @@ private:
|
|||||||
// Remember the counter variable for each struct type to avoid
|
// Remember the counter variable for each struct type to avoid
|
||||||
// recomputing the variable name later during instrumentation.
|
// recomputing the variable name later during instrumentation.
|
||||||
std::map<Type *, GlobalVariable *> StructTyMap;
|
std::map<Type *, GlobalVariable *> StructTyMap;
|
||||||
|
ShadowMemoryParams ShadowParams;
|
||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user