Skip to content

TLS variables (self->x) can be declared with an array datatype but cannot be used as such #61

Open
@kvanhees

Description

@kvanhees

dtrace -s /dev/stdin << EOT

self int n[1];
BEGIN { self->n[0] = 1; }
EOT

dtrace: script '/dev/stdin' matched 1 probe
dtrace: error on enabled probe ID 1 (ID 1: dtrace:::BEGIN): invalid address (0x0) in action #1 at DIF offset 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions