[test-suite] r263415 - [cmake] Fix typo in hash strip command

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 02:42:25 PDT 2016


Author: jamesm
Date: Mon Mar 14 04:42:25 2016
New Revision: 263415

URL: http://llvm.org/viewvc/llvm-project?rev=263415&view=rev
Log:
[cmake] Fix typo in hash strip command

It's meant to be '.note*', not .note! We weren't stripping all the note sections, causing hashes to spuriously change.

Modified:
    test-suite/trunk/litsupport/hash.py

Modified: test-suite/trunk/litsupport/hash.py
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/litsupport/hash.py?rev=263415&r1=263414&r2=263415&view=diff
==============================================================================
--- test-suite/trunk/litsupport/hash.py (original)
+++ test-suite/trunk/litsupport/hash.py Mon Mar 14 04:42:25 2016
@@ -16,7 +16,7 @@ def compute(context):
             shutil.copyfile(executable, stripped_executable)
             subprocess.check_call(['strip',
                                    '--remove-section=.comment',
-                                   '--remove-section=.note',
+                                   "--remove-section='.note*'",
                                    stripped_executable])
             executable = stripped_executable
 




More information about the llvm-commits mailing list