Lines Matching refs:gcc
5 // Annotate Ref in Prog with C types by parsing gcc debug output.
31 var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
173 // loadDefines coerces gcc into spitting out the #defines in use
215 // guessKinds tricks gcc into revealing the kind of each
220 // like #defines or 'struct foo', before bothering with gcc.
263 // Otherwise, we'll need to find out from gcc.
267 // Bypass gcc if there's nothing left to find out.
272 // Coerce gcc into telling us whether each name is a type, a value, or undeclared.
401 // by gcc to learn the details of the constants, variables, and types
405 // from a well-formed C program. Gcc only generates DWARF info
422 // Apple's LLVM-based gcc does not include the enumeration
424 // using such a gcc, create a data block initialized with the values.
436 // LLVM-based gcc will place the it in the __DATA.__common
678 // GCC won't raise an error when using pointers to such unknown types.
722 // It uses $CC if set, or else $GCC, or else the compiler recorded
730 // Try $GCC if set, since that's what we used to use.
731 if ret := strings.Fields(os.Getenv("GCC")); len(ret) > 0 {
737 // gccMachine returns the gcc -m flag to use, either "-m32", "-m64" or "-marm".
758 // gccCmd returns the gcc command line to use for compiling
795 // gccDebug runs gcc -gdwarf-2 over the C program stdin and
880 fatalf("cannot parse gcc output %s as ELF, Mach-O, PE object", gccTmp())
884 // gccDefines runs gcc -E -dM -xc - over the C program stdin
886 // #defines that gcc encountered while processing the input
895 // gccErrors runs gcc over the C program stdin and returns
896 // the errors that gcc prints. That is, this function expects
897 // gcc to fail.
915 // runGcc runs the gcc command line args with stdin on standard input.
920 // on standard error, but for those uses gcc must still exit 0.
1495 // gcc's DWARF generator outputs a single DotDotDotType parameter for