[Lldb-commits] [flang] [clang] [compiler-rt] [lldb] [libclc] [llvm] [libcxxabi] [mlir] [lld] [libcxx] [clang-tools-extra] [libc] [ELF] Add internal InputFile (PR #78944)

2024-01-23 Thread Andrew Ng via lldb-commits
nga888 wrote: Hi @MaskRay, I think that the addition of `ctx.internalFile` has broken this statement from `class InputSectionBase`: ``` // The file which contains this section. Its dynamic type is always // ObjFile, but in order to avoid ELFT, we use InputFile

[Lldb-commits] [compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [mlir] [flang] [clang-tools-extra] [libc] [libclc] [ELF] Add internal InputFile (PR #78944)

2024-01-25 Thread Andrew Ng via lldb-commits
nga888 wrote: Sorry for the delay to reply but I've been more busy of late. I can confirm that it was a downstream code path which was calling `getFile()` for a `SyntheticSection` that was causing the assertion. This downstream code was effectively ignoring a