Skip to content
Unverified Commit 894c2240 authored by Michael Spencer's avatar Michael Spencer Committed by GitHub
Browse files

[clang][Driver] Don't ignore -gmodules .gch files (#77711)

A previous commit (82f75ed5) made clang ignore .gch files that were not
Clang AST files. This broke `-gmodules`, which embeds the Clang AST into
an object file containing debug info.

This changes the probing to detect any file format recognized by
`llvm::identify_magic()` as potentially containing a Clang AST.

Previous PR: https://github.com/llvm/llvm-project/pull/69204
parent e9e3e9d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment