-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
clang importerArea → compiler: The clang importerArea → compiler: The clang importerconcurrencyFeature: umbrella label for concurrency language featuresFeature: umbrella label for concurrency language featuresfeatureA feature request or implementationA feature request or implementation
Description
Description
Unlike regular global variables, global variables in TLS can be accessed from any actor context without data-race in theory. For example, wasi-libc's errno is defined as a global TLS variable (not a macro unlike other libcs)
ClangImporer should import those global variables with nonisolated(unsafe)
attributes to avoid redundant shims
Additional information
No response
matt-curtis
Metadata
Metadata
Assignees
Labels
clang importerArea → compiler: The clang importerArea → compiler: The clang importerconcurrencyFeature: umbrella label for concurrency language featuresFeature: umbrella label for concurrency language featuresfeatureA feature request or implementationA feature request or implementation