Revert "[compiler-rt][fuzzer] implements SetThreadName for fuchsia." (#105162)
Reverts llvm/llvm-project#99953
This commit is contained in:
parent
770cd24140
commit
ddaa8284f5
@ -607,13 +607,7 @@ size_t PageSize() {
|
||||
}
|
||||
|
||||
void SetThreadName(std::thread &thread, const std::string &name) {
|
||||
if (name.size() > 31)
|
||||
name.resize(31);
|
||||
zx_status_t s;
|
||||
if ((s = zx_object_set_property(thread.native_handle(), ZX_PROP_NAME,
|
||||
name.c_str(), name.size())) != ZX_OK)
|
||||
Printf("SetThreadName for name %s failed: %s", name.c_str(),
|
||||
zx_status_get_string(s));
|
||||
// TODO ?
|
||||
}
|
||||
|
||||
} // namespace fuzzer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user