qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 02/24] modules: collect module meta-data


From: Paolo Bonzini
Subject: Re: [PATCH v3 02/24] modules: collect module meta-data
Date: Fri, 18 Jun 2021 18:09:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

On 18/06/21 06:53, Gerd Hoffmann wrote:
+def find_command(src, target, compile_commands):
+    for command in compile_commands:
+        if command['file'] != src:
+            continue
+        if target != '' and command['command'].find(target) == -1:
+            continue


Did you look into using extract_objects for this instead of looking for the target (which works, but yuck :))?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]