xref: /openbmc/linux/tools/objtool/include/objtool/builtin.h (revision f2d8b6917f3bcfb3190eb80567fea71a9b59dbd3)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (C) 2015 Josh Poimboeuf <jpoimboe@redhat.com>
4  */
5 #ifndef _BUILTIN_H
6 #define _BUILTIN_H
7 
8 #include <subcmd/parse-options.h>
9 
10 extern const struct option check_options[];
11 extern bool no_fp, no_unreachable, retpoline, module, backtrace, uaccess, stats,
12 	    lto, vmlinux, mcount, noinstr, backup, sls, dryrun,
13 	    ibt;
14 
15 extern int cmd_parse_options(int argc, const char **argv, const char * const usage[]);
16 
17 extern int cmd_check(int argc, const char **argv);
18 extern int cmd_orc(int argc, const char **argv);
19 
20 #endif /* _BUILTIN_H */
21