message: Change remaining references to lit.util.capture to use subprocess.check_output.
  Summary:
  The capture() function was removed in r306625. This should fix PGO breakages
  reported by Michael Zolotukhin.
  Reviewers: mzolotukhin
  Subscribers: sanjoy, llvm-commits
diff: @@ -95,8 +95,8 @@ if config.test_exec_root is None:
  lit_config.fatal('No site specific configuration available!')
  # Get the source and object roots.
  - llvm_src_root = lit.util.capture(['llvm-config', '--src-root']).strip()
  - llvm_obj_root = lit.util.capture(['llvm-config', '--obj-root']).strip()
  + llvm_src_root = subprocess.check_output(['llvm-config', '--src-root']).strip()
  + llvm_obj_root = subprocess.check_output(['llvm-config', '--obj-root']).strip()
  lldb_src_root = os.path.join(llvm_src_root, "tools", "lldb")
  lldb_obj_root = os.path.join(llvm_obj_root, "tools", "lldb")
  @@ -132,7 +132,7 @@ if not os.path.exists(config.cxx):
  if platform.system() in ['Darwin']:
  try:
  - out = lit.util.capture(['xcrun', '--show-sdk-path']).strip()
  + out = subprocess.check_output(['xcrun', '--show-sdk-path']).strip()
  res = 0
  except OSError:
  res = -1
  