Project

General

Profile

Actions

Feature #3094

closed

Feature #3089: want ::typedef

libctf should support removing a dynamic type

Added by Robert Mustacchi about 9 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Low
Category:
lib - userland libraries
Start date:
2012-08-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

As part of doing the work for 3089 and trying to support self-referential structures, this forces us to be unable to verify that all types for a struct to be defined until after the basic struct is added itself. Currently all consumers (libdtrace) end up treating a failure of this kind to be a fatal error. In mdb that is not acceptable. To work around this, we introduce a new function, ctf_delete_type(ctf_file_t *, ctf_id_t). Assuming the type has no outstanding references from other types, then it is removed from the list and the container is dirtied. The change will be committed once the container is updated.

Actions #1

Updated by Robert Mustacchi about 9 years ago

  • % Done changed from 0 to 80
Actions #2

Updated by Robert Mustacchi about 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 80 to 100

Resolved in 0a47c91c895e274dd0990009919e30e984364a8b.

Actions

Also available in: Atom PDF