File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
lldb/source/Host/macosx/objcxx Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1221,13 +1221,12 @@ static Status LaunchProcessPosixSpawn(const char *exe_path,
12211221 //
12221222 using posix_spawnattr_set_use_sec_transition_shims_np_t =
12231223 int (*)(posix_spawnattr_t *attr, uint32_t flags);
1224- auto posix_spawnattr_set_use_sec_transition_shims_np_fn =
1224+ auto posix_spawnattr_enable_memory_tagging_fn =
12251225 (posix_spawnattr_set_use_sec_transition_shims_np_t )dlsym (
12261226 RTLD_DEFAULT, " posix_spawnattr_set_use_sec_transition_shims_np" );
1227- if (posix_spawnattr_set_use_sec_transition_shims_np_fn) {
1228- error =
1229- Status (posix_spawnattr_set_use_sec_transition_shims_np_fn (&attr, 0 ),
1230- eErrorTypePOSIX);
1227+ if (posix_spawnattr_enable_memory_tagging_fn) {
1228+ error = Status (posix_spawnattr_enable_memory_tagging_fn (&attr, 0 ),
1229+ eErrorTypePOSIX);
12311230 if (error.Fail ()) {
12321231 LLDB_LOG (log,
12331232 " error: {0}, "
You can’t perform that action at this time.
0 commit comments