Commit 3c754bf
[clang][PAC] Fix PAC codegen for final class dynamic_cast optimization (llvm#152227)
The codegen for the final class dynamic_cast optimization fails to
consider pointer authentication. This change resolves this be simply
disabling the optimization when pointer authentication enabled.
(cherry picked from commit 7268478)1 parent 2555a85 commit 3c754bf
File tree
2 files changed
+3
-1
lines changed- clang
- lib/CodeGen
- test/CodeGenCXX
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2313 | 2313 | | |
2314 | 2314 | | |
2315 | 2315 | | |
2316 | | - | |
| 2316 | + | |
| 2317 | + | |
2317 | 2318 | | |
2318 | 2319 | | |
2319 | 2320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments