[StackColoring] Handle fixed object index
authorNikita Popov <npopov@redhat.com>
Fri, 22 Sep 2023 10:25:56 +0000 (12:25 +0200)
committerTobias Hieta <tobias@hieta.se>
Wed, 27 Sep 2023 15:53:46 +0000 (17:53 +0200)
commit9678f11b057c1f33b9b714105e7c8e34f2f96bed
tree71191f2165430ab15144555a27f2f04f58979e3e
parent49e9ee1900803f3e6b4ce3b5c774d55e7ccbd262
[StackColoring] Handle fixed object index

This is a followup to #66988. The implementation there did not
account for the possibility of the catch object frame index
referrring to a fixed object, which is the case on win64.

(cherry picked from commit aa70f4d8cf8f09a2997773156289b16d6a16ec01)
llvm/lib/CodeGen/StackColoring.cpp
llvm/test/CodeGen/X86/stack-coloring-wineh.ll