Added support in clang for GCC function attribute 'artificial'. This attribute is used to control stepping behavior of debugger with respect to inline functions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
lgtm
Clang's builtin headers use __attribute__((__nodebug__)) for this purpose. Do you think we should follow this up by using artificial instead? It seems like it would be a representational improvement. @aprantl @probinson @dblaikie
test/Sema/artificial.c | ||
---|---|---|
3 ↗ | (On Diff #134123) | I think it's worth adding the foo function from the CodeGen test here to show we don't generate warnings when the function is inline specified. |