[PATCH] D98661: [M68k] Fixed incorrect `extract-section` command substitution
Min-Yih Hsu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 15 14:00:08 PDT 2021
myhsu created this revision.
myhsu added a reviewer: RKSimon.
myhsu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fix Bug 49485 (https://bugs.llvm.org/show_bug.cgi?id=49485). Which was caused by incorrect invocation of `extract-section.py` on Windows.
Replacing it with more general python script invocation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98661
Files:
llvm/test/CodeGen/M68k/lit.local.cfg
Index: llvm/test/CodeGen/M68k/lit.local.cfg
===================================================================
--- llvm/test/CodeGen/M68k/lit.local.cfg
+++ llvm/test/CodeGen/M68k/lit.local.cfg
@@ -6,7 +6,8 @@
'utils', 'extract-section.py')
config.substitutions.append(('extract-section',
- extract_section_path + ' --byte-indicator --hex-width=2'))
+ "'%s' %s %s" % (config.python_executable,
+ extract_section_path, '--byte-indicator --hex-width=2')))
if not 'M68k' in config.root.targets:
config.unsupported = True
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98661.330799.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/4ca5bfb2/attachment.bin>
More information about the llvm-commits
mailing list