-
Couldn't load subscription status.
- Fork 15k
Open
Labels
clang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"llvm:ir
Description
To support P1494 we need a built-in that lowers to an IR instruction that would behave like an opaque function and would resist time travel UB during optimisation.
__builtin_observable_checkpoint is the name that has been chosen by GCC.
I'm happy to implement the builtin in clang once we know what to lower it too.
frederick-vs-jadtcxzyw
Metadata
Metadata
Assignees
Labels
clang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"llvm:ir