[PATCH] D110621: [llvm-locstats] Report an error if overflow was detected by llvm-dwarfdump

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 09:44:45 PDT 2021


dblaikie added inline comments.


================
Comment at: llvm/utils/llvm-locstats/llvm-locstats.py:196-198
+    if json_parsed[name] == 'overflowed':
+      print ('error: "' + name + '" field overflowed.')
+      sys.exit(1)
----------------
Should it stop after the first overflowed field, or continue to print other stats?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110621/new/

https://reviews.llvm.org/D110621



More information about the llvm-commits mailing list