[all-commits] [llvm/llvm-project] 77bc5c: Fix possible self assign issue for DIEValue
XinWang10 via All-commits
all-commits at lists.llvm.org
Mon May 8 02:56:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77bc5cc658a3b57a1fffbcb0490988ce7047d5b9
https://github.com/llvm/llvm-project/commit/77bc5cc658a3b57a1fffbcb0490988ce7047d5b9
Author: Wang, Xin10 <xin10.wang at intel.com>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M llvm/include/llvm/CodeGen/DIE.h
Log Message:
-----------
Fix possible self assign issue for DIEValue
In DIEValue's operator assignment constructor, it didn't identify if
the two obj is the same.
I add code to identify them so that it will work correctly when we do
self assign here.
Reviewed By: skan
Differential Revision: https://reviews.llvm.org/D150020
More information about the All-commits
mailing list