[flang-commits] [flang] [flang][cmake] Order flang profdata generation after clang's (PR #206023)

Madhur Amilkanthwar via flang-commits flang-commits at lists.llvm.org
Fri Jun 26 06:16:29 PDT 2026


madhur13490 wrote:

To be precise, here is the stack trace when the build fails. I also suspect that we need some hardening in reader

 ```
#0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
 #1 llvm::sys::RunSignalHandlers()
 #2 SignalHandler(int, siginfo_t*, void*)
 #3 (linux-vdso.so.1)
 #4 __GI___memcpy_falkor
 #5 llvm::ValueProfData::getValueProfData(unsigned char const*, unsigned char const*, llvm::endianness)
 #6 llvm::RawInstrProfReader<unsigned long>::readValueProfilingData(llvm::InstrProfRecord&)
 #7 llvm::RawInstrProfReader<unsigned long>::readNextRecord(llvm::NamedInstrProfRecord&)
 #8 llvm::InstrProfIterator<llvm::NamedInstrProfRecord, llvm::InstrProfReader>::increment()
 #9 loadInput(WeightedFile const&, (anonymous namespace)::SymbolRemapper*, llvm::InstrProfCorrelator const*, llvm::StringRef, WriterContext*, llvm::object::BuildIDFetcher const*, llvm::InstrProfCorrelator::ProfCorrelatorKind const*)
#10 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<llvm::unique_function<void ()>>>, void>>::_M_invoke(std::_Any_data const&)
#11 std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)

```

https://github.com/llvm/llvm-project/pull/206023


More information about the flang-commits mailing list