Skip to content

Commit ddaa828

Browse files
authored
Revert "[compiler-rt][fuzzer] implements SetThreadName for fuchsia." (#105162)
Reverts #99953
1 parent 770cd24 commit ddaa828

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -607,13 +607,7 @@ size_t PageSize() {
607607
}
608608

609609
void SetThreadName(std::thread &thread, const std::string &name) {
610-
if (name.size() > 31)
611-
name.resize(31);
612-
zx_status_t s;
613-
if ((s = zx_object_set_property(thread.native_handle(), ZX_PROP_NAME,
614-
name.c_str(), name.size())) != ZX_OK)
615-
Printf("SetThreadName for name %s failed: %s", name.c_str(),
616-
zx_status_get_string(s));
610+
// TODO ?
617611
}
618612

619613
} // namespace fuzzer

0 commit comments

Comments
 (0)