Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 637654
Collapse All | Expand All

(-)a/build/config/compiler/BUILD.gn.orig (-12 lines)
Lines 422-439 Link Here
422
    cflags += [ "-fcolor-diagnostics" ]
422
    cflags += [ "-fcolor-diagnostics" ]
423
  }
423
  }
424
424
425
  # TODO(hans): Remove this once Clang generates better optimized debug info by
426
  # default. https://crbug.com/765793
427
  if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
428
      target_os != "chromeos") {
429
    cflags += [
430
      "-Xclang",
431
      "-mllvm",
432
      "-Xclang",
433
      "-instcombine-lower-dbg-declare=0",
434
    ]
435
  }
436
437
  # Print absolute paths in diagnostics. There is no precedent for doing this
425
  # Print absolute paths in diagnostics. There is no precedent for doing this
438
  # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and
426
  # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and
439
  # Windows developers rely on it (crbug.com/636109) so only do this on Windows.
427
  # Windows developers rely on it (crbug.com/636109) so only do this on Windows.

Return to bug 637654