Skip to content
Commit 7240008c authored by Alex Voicu's avatar Alex Voicu
Browse files

[Clang][CodeGen] `__dynamic_cast` should care about `type_info`'s address space

`__dynamic_cast` relies on `type_info`, which its signature assumed to be in the generic / default address space. This patch corrects the oversight (we know that `type_info` resides in the GlobalVar address space)  and adds an associated test.

Reviewed By: yaxunl

Differential Revision: https://reviews.llvm.org/D155870
parent 3ef766ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment