[clang] [clang] Fix crash 'Cannot get layout of forward declarations' during CTU static analysis (PR #156056)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 4 02:16:57 PDT 2025
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>,
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>,
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/156056 at github.com>
steakhal wrote:
> I still see a buildbot error in the clang-ppc64-aix builder:
>
> ```
> sed -i='' 's/$/.ast/' /home/llvm/llvm-external-buildbots/workers/aix-ppc64/clang-ppc64-aix/build/tools/clang/test/Analysis/Output/ctu-import-type-decl-definition.c.tmp/externalDefMap.txt # RUN: at line 8
> + sed -i= 's/$/.ast/' /home/llvm/llvm-external-buildbots/workers/aix-ppc64/clang-ppc64-aix/build/tools/clang/test/Analysis/Output/ctu-import-type-decl-definition.c.tmp/externalDefMap.txt
> sed: illegal option -- i
> Usage: sed [-n] [-u] Script [File ...]
> sed [-n] [-u] [-e Script] ... [-f Script_file] ... [File ...]
> ```
>
> Probably we need to find another way to get the **externalDefMap.txt**.
Alright. Probably the easiest is to do what you proposed initially, and dump the content of this file into `Inputs` and not generate this at test time. This is unfortunate, but should unblock the bots and think about this later.
https://github.com/llvm/llvm-project/pull/156056
More information about the cfe-commits
mailing list