This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NFCI] Record the location string as part of the ident_t
AbandonedPublic

Authored by jdoerfert on Oct 25 2021, 2:56 PM.

Details

Summary

When we want to inspect ident_t objects from the device on the host we
need to copy the string over. So far we did not know how long the string
was which prevented an efficient way of copying it. Given that we have
two unused fields in the struct we can just store the string size.

NOTE: Tests will be adjusted shortly.

Diff Detail

Event Timeline

jdoerfert created this revision.Oct 25 2021, 2:56 PM
jdoerfert requested review of this revision.Oct 25 2021, 2:56 PM
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptOct 25 2021, 2:56 PM
ormris removed a subscriber: ormris.Jan 24 2022, 11:30 AM
jdoerfert abandoned this revision.Jan 25 2022, 5:47 PM

Committed partially as 944aa0421cb7da3aa764b2a108ea25ef8bceb979, rest is NFC.