Within the MatchFPUWaitAlias function, Operands[0] is potentially overwritten leading to &Op referencing a deleted object. To fix this, assign the reference after the function.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D57376
X86Parser: Fix potential reference to deleted object ClosedPublic Authored by BrandonTJones on Jan 29 2019, 3:24 AM.
Details Summary Within the MatchFPUWaitAlias function, Operands[0] is potentially overwritten leading to &Op referencing a deleted object. To fix this, assign the reference after the function.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 21 2019, 10:54 PM Closed by commit rL356973: X86Parser: Fix potential reference to deleted object (authored by ctopper). · Explain WhyMar 25 2019, 8:11 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 191475 llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
|