Lines Matching refs:gcc
5 // Annotate Ref in Prog with C types by parsing gcc debug output.
32 var debugGcc = flag.Bool("debug-gcc", false, "print gcc invocations")
178 // loadDefines coerces gcc into spitting out the #defines in use
220 // guessKinds tricks gcc into revealing the kind of each
225 // like #defines or 'struct foo', before bothering with gcc.
272 // Otherwise, we'll need to find out from gcc.
276 // Bypass gcc if there's nothing left to find out.
281 // Coerce gcc into telling us whether each name is a type, a value, or undeclared.
352 // exception: newer GCC versions will sometimes emit
453 // by gcc to learn the details of the constants, variables, and types
457 // from a well-formed C program. Gcc only generates DWARF info
487 // LLVM-based gcc will place the it in the __DATA.__common
1172 // GCC won't raise an error when using pointers to such unknown types.
1227 // It uses $CC if set, or else $GCC, or else the compiler recorded
1235 // Try $GCC if set, since that's what we used to use.
1236 if ret := strings.Fields(os.Getenv("GCC")); len(ret) > 0 {
1242 // gccMachine returns the gcc -m flag to use, either "-m32", "-m64" or "-marm".
1267 // gccCmd returns the gcc command line to use for compiling
1304 // gccDebug runs gcc -gdwarf-2 over the C program stdin and
1586 fatalf("cannot parse gcc output %s as ELF, Mach-O, PE object", gccTmp())
1590 // gccDefines runs gcc -E -dM -xc - over the C program stdin
1592 // #defines that gcc encountered while processing the input
1601 // gccErrors runs gcc over the C program stdin and returns
1602 // the errors that gcc prints. That is, this function expects
1603 // gcc to fail.
1629 // runGcc runs the gcc command line args with stdin on standard input.
1634 // on standard error, but for those uses gcc must still exit 0.
2275 // gcc's DWARF generator outputs a single DotDotDotType parameter for