[all-commits] [llvm/llvm-project] 71e623: [llvm] Avoid out-of-order evaluation in DebugInfo ...
Elvin Wang via All-commits
all-commits at lists.llvm.org
Tue Feb 11 10:33:28 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 71e623d878ecbf66324e15b3a3b2e983e2d7942a
https://github.com/llvm/llvm-project/commit/71e623d878ecbf66324e15b3a3b2e983e2d7942a
Author: Elvin Wang <elvin.wang at intel.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M llvm/lib/IR/DebugInfo.cpp
A llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-pr125116.ll
Log Message:
-----------
[llvm] Avoid out-of-order evaluation in DebugInfo (#125116)
This is an upstream proposal from
https://github.com/intel/intel-graphics-compiler/commit/e60884cb98c4332a0eecff8396eb353c5b86cd35
We observed malfunctioning StripNonLineTableDebugInfo during debugging
and it's caused by out-of-order evaluation, this is a C++ level semantic
ambiguity issue, refer
https://en.cppreference.com/w/cpp/language/eval_order
Solution is simply separating one line into two.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list