GCC for C
  • C Implementation
  • cc1
    • Program cc1 includes both the preprocessor and C compiler.
    • It compiles a C source file and generates an assembly (.S) file.
  • toplev_main()
    • main function
    • the function that processes the command-line options, initializes the compiler, compiles a file, and frees up the allocated resources
  • decode_options()
    • processes the command-line options and sets the corresponding variables within the compiler
  • global variables
    • the state of the compiler
    • current_function_decl
      • the declaration of the function being compiled or NULL if between functions
  • language hooks
  • hooks for tree inlining
  • hooks for call graph
  • hooks for functions
  • hooks for tree dump
  • hooks for types
  • hooks for declarations
  • language-specific hooks.
  • C Extensions
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License