Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions infra/base-images/base-builder/indexer/clang_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ def main(argv: list[str]) -> None:

output_file = Path(output_file)

if output_file.name.endswith(".o"):
execute(argv) # Not a real linker command

if indexer_targets:
if output_file.name not in indexer_targets:
# Not a relevant linker command
Expand All @@ -461,9 +464,6 @@ def main(argv: list[str]) -> None:
# Not a fuzz target.
execute(argv)

if output_file.name.endswith(".o"):
execute(argv) # Not a real linker command

print(f"Linking {argv}")

cdb_path = get_flag_value(argv, "-gen-cdb-fragment-path")
Expand Down
Loading