![]() When running test-case gdb.opt/inline-small-func.exp with clang 12.0.1, I run into: ... gdb compile failed, /usr/bin/ld: inline-small-func0.o: in function `main': inline-small-func.c:21: undefined reference to `callee' clang-12.0: error: linker command failed with exit code 1 \ (use -v to see invocation) UNTESTED: gdb.opt/inline-small-func.exp: failed to prepare ... Fix this by using __attribute__((always_inline)). Tested on x86_64-linux. |
||
---|---|---|
.. | ||
break-on-_exit.c | ||
break-on-_exit.exp | ||
clobbered-registers-O2-2.c | ||
clobbered-registers-O2-3.c | ||
clobbered-registers-O2.c | ||
clobbered-registers-O2.exp | ||
fortran-string.exp | ||
fortran-string.f90 | ||
inline-break.c | ||
inline-break.exp | ||
inline-bt.c | ||
inline-bt.exp | ||
inline-cmds.c | ||
inline-cmds.exp | ||
inline-locals.c | ||
inline-locals.exp | ||
inline-markers.c | ||
inline-small-func.c | ||
inline-small-func.exp | ||
inline-small-func.h | ||
solib-intra-step-lib.c | ||
solib-intra-step-main.c | ||
solib-intra-step.exp |