[msan] Kill __msan_print_param_shadow.
It does not do what it's name says, and what it actually does is hard to describe, and is not useful at all. llvm-svn: 205415
This commit is contained in:
parent
01a37a0bcc
commit
2dcb5c0a2c
|
@ -78,10 +78,6 @@ extern "C" {
|
|||
format. */
|
||||
void __msan_print_shadow(const volatile void *x, size_t size);
|
||||
|
||||
/* Print current function arguments shadow and origin to stderr in a
|
||||
human-readable format. */
|
||||
void __msan_print_param_shadow();
|
||||
|
||||
/* Returns true if running under a dynamic tool (DynamoRio-based). */
|
||||
int __msan_has_dynamic_component();
|
||||
|
||||
|
|
|
@ -367,13 +367,6 @@ void __msan_print_shadow(const void *x, uptr size) {
|
|||
}
|
||||
}
|
||||
|
||||
void __msan_print_param_shadow() {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
Printf("#%d:%zx ", i, __msan_param_tls[i]);
|
||||
}
|
||||
Printf("\n");
|
||||
}
|
||||
|
||||
sptr __msan_test_shadow(const void *x, uptr size) {
|
||||
if (!MEM_IS_APP(x)) return -1;
|
||||
unsigned char *s = (unsigned char *)MEM_TO_SHADOW((uptr)x);
|
||||
|
|
|
@ -100,8 +100,6 @@ void __msan_set_expect_umr(int expect_umr);
|
|||
SANITIZER_INTERFACE_ATTRIBUTE
|
||||
void __msan_print_shadow(const void *x, uptr size);
|
||||
SANITIZER_INTERFACE_ATTRIBUTE
|
||||
void __msan_print_param_shadow();
|
||||
SANITIZER_INTERFACE_ATTRIBUTE
|
||||
int __msan_has_dynamic_component();
|
||||
|
||||
// Returns x such that %fs:x is the first byte of __msan_retval_tls.
|
||||
|
|
Loading…
Reference in New Issue