We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25f4455 + bce4ee7 commit 8811870Copy full SHA for 8811870
utils/profdata_merge/process.py
@@ -64,10 +64,11 @@ def merge_file_buffer(self):
64
llvm_cmd.append("-sparse")
65
llvm_cmd += cleaned_files
66
self.report(llvm_cmd)
67
- ret = shell.call(llvm_cmd, echo=False)
68
- if ret != 0:
69
- self.report("llvm profdata command failed -- Exited with code %d"
70
- % ret, level=logging.ERROR)
+
+ try:
+ shell.call(llvm_cmd, echo=False)
+ except SystemExit as e:
71
+ self.report("llvm profdata command failed: %s" % e, level=logging.ERROR)
72
if self.config.remove_files:
73
for f in self.filename_buffer:
74
if os.path.exists(f):
0 commit comments