[compiler-rt] 1b2704f - [HWASan] cleanup imports in hwasan_symbolize.

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 11:22:51 PDT 2022


Author: Florian Mayer
Date: 2022-05-04T11:22:36-07:00
New Revision: 1b2704f9355345cd47e1aa3a27bc4f7bd0a8b9e2

URL: https://github.com/llvm/llvm-project/commit/1b2704f9355345cd47e1aa3a27bc4f7bd0a8b9e2
DIFF: https://github.com/llvm/llvm-project/commit/1b2704f9355345cd47e1aa3a27bc4f7bd0a8b9e2.diff

LOG: [HWASan] cleanup imports in hwasan_symbolize.

Added: 
    

Modified: 
    compiler-rt/lib/hwasan/scripts/hwasan_symbolize

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/hwasan/scripts/hwasan_symbolize b/compiler-rt/lib/hwasan/scripts/hwasan_symbolize
index cb22ac61cb557a..308505e766150b 100755
--- a/compiler-rt/lib/hwasan/scripts/hwasan_symbolize
+++ b/compiler-rt/lib/hwasan/scripts/hwasan_symbolize
@@ -14,16 +14,14 @@
 from __future__ import print_function
 from __future__ import unicode_literals
 
+import argparse
 import glob
+import mmap
 import os
 import re
-import sys
-import string
-import subprocess
-import argparse
-import mmap
 import struct
-import os
+import subprocess
+import sys
 
 if sys.version_info.major < 3:
   # Simulate Python 3.x behaviour of defaulting to UTF-8 for print. This is


        


More information about the llvm-commits mailing list