Re: [PATCH 1/3] tools compiler.h: Add attribute to disable tail calls

2020-06-01 Thread Arnaldo Carvalho de Melo
Em Sat, May 30, 2020 at 01:20:13AM -0700, Ian Rogers escreveu: > Tail call optimizations can remove stack frames that are used in > unwinding tests. Add an attribute that can be used to disable the tail > call optimization. Tested on clang and GCC. > > Signed-off-by: Ian Rogers > --- > tools/in

[PATCH 1/3] tools compiler.h: Add attribute to disable tail calls

2020-05-30 Thread Ian Rogers
Tail call optimizations can remove stack frames that are used in unwinding tests. Add an attribute that can be used to disable the tail call optimization. Tested on clang and GCC. Signed-off-by: Ian Rogers --- tools/include/linux/compiler-gcc.h | 8 tools/include/linux/compiler.h |