scripts/gcc-plugins/gcc-common.h
Source file repositories/reference/linux-study-clean/scripts/gcc-plugins/gcc-common.h
File Facts
- System
- Linux kernel
- Corpus path
scripts/gcc-plugins/gcc-common.h- Extension
.h- Size
- 11623 bytes
- Lines
- 439
- Domain
- Support Tooling And Documentation
- Bucket
- scripts
- Inferred role
- Support Tooling And Documentation: implementation source
- Status
- source implementation candidate
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
bversion.hgcc-plugin.hplugin-version.hconfig.hsystem.hcoretypes.htm.hline-map.hinput.htree.htree-inline.hversion.hrtl.htm_p.hflags.hhard-reg-set.houtput.hexcept.hfunction.htoplev.hexpr.hbasic-block.hintl.hggc.htimevar.hparams.hhash-map.hmemmodel.hemit-rtl.hdebug.htarget.hlanghooks.h
Detected Declarations
function build_const_char_stringfunction __add_type_attrfunction add_type_attrfunction change_decl_assembler_namefunction varpool_finalize_declfunction varpool_add_new_variablefunction rebuild_cgraph_edgesfunction cgraph_function_nodefunction cgraph_function_or_thunk_nodefunction cgraph_only_called_directly_pfunction cgraph_function_body_availabilityfunction cgraph_alias_targetfunction cgraph_for_node_and_aliasesfunction cgraph_remove_function_insertion_hookfunction cgraph_remove_node_removal_hookfunction cgraph_remove_node_duplication_hookfunction cgraph_call_node_duplication_hooksfunction cgraph_call_edge_duplication_hooksfunction gimple_build_assign_with_opsfunction ipa_ref_referring_nodefunction ipa_remove_stmt_referencesfunction debug_treefunction debug_gimple_stmt
Annotated Snippet
#ifndef GCC_COMMON_H_INCLUDED
#define GCC_COMMON_H_INCLUDED
#include "bversion.h"
#include "gcc-plugin.h"
#include "plugin-version.h"
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "line-map.h"
#include "input.h"
#include "tree.h"
#include "tree-inline.h"
#include "version.h"
#include "rtl.h"
#include "tm_p.h"
#include "flags.h"
#include "hard-reg-set.h"
#include "output.h"
#include "except.h"
#include "function.h"
#include "toplev.h"
#include "expr.h"
#include "basic-block.h"
#include "intl.h"
#include "ggc.h"
#include "timevar.h"
#if BUILDING_GCC_VERSION < 10000
#include "params.h"
#endif
#include "hash-map.h"
#include "memmodel.h"
#include "emit-rtl.h"
#include "debug.h"
#include "target.h"
#include "langhooks.h"
#include "cfgloop.h"
#include "cgraph.h"
#include "opts.h"
#include "tree-pretty-print.h"
#include "gimple-pretty-print.h"
#include "c-family/c-common.h"
#include "tree-cfgcleanup.h"
#include "tree-ssa-operands.h"
#include "tree-into-ssa.h"
#include "is-a.h"
#include "diagnostic.h"
#include "tree-dump.h"
#include "tree-pass.h"
#include "pass_manager.h"
#include "predict.h"
#include "ipa-utils.h"
#include "stringpool.h"
#include "attribs.h"
#include "varasm.h"
#include "stor-layout.h"
#include "internal-fn.h"
#include "gimple.h"
#include "gimple-expr.h"
#include "gimple-iterator.h"
#include "gimple-fold.h"
#include "context.h"
#include "tree-ssa-alias.h"
#include "tree-ssa.h"
#include "tree-vrp.h"
#include "tree-ssanames.h"
#include "print-tree.h"
#include "tree-eh.h"
#include "stmt.h"
#include "gimplify.h"
#include "tree-phinodes.h"
#include "tree-cfg.h"
#include "gimple-ssa.h"
#include "ssa-iterators.h"
#include "builtins.h"
/* missing from basic_block.h... */
void debug_dominance_info(enum cdi_direction dir);
void debug_dominance_tree(enum cdi_direction dir, basic_block root);
#ifndef __unused
#define __unused __attribute__((__unused__))
#endif
#ifndef __visible
Annotation
- Immediate include surface: `bversion.h`, `gcc-plugin.h`, `plugin-version.h`, `config.h`, `system.h`, `coretypes.h`, `tm.h`, `line-map.h`.
- Detected declarations: `function build_const_char_string`, `function __add_type_attr`, `function add_type_attr`, `function change_decl_assembler_name`, `function varpool_finalize_decl`, `function varpool_add_new_variable`, `function rebuild_cgraph_edges`, `function cgraph_function_node`, `function cgraph_function_or_thunk_node`, `function cgraph_only_called_directly_p`.
- Atlas domain: Support Tooling And Documentation / scripts.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.