aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/TapiFile.cpp
diff options
context:
space:
mode:
authorElizabeth Andrews <elizabeth.andrews@intel.com>2021-10-13 17:12:31 -0700
committerElizabeth Andrews <elizabeth.andrews@intel.com>2022-01-13 08:06:19 -0800
commit4eaf5846d0e738264d9328b4a919bc352ea83b7a (patch)
tree766ddbbdad7e46f79ec349a9c4263317e8f4cf2d /llvm/lib/Object/TapiFile.cpp
parent1fa4778d03c10bb93e018f885527740c6577a5b3 (diff)
downloadllvm-4eaf5846d0e738264d9328b4a919bc352ea83b7a.zip
llvm-4eaf5846d0e738264d9328b4a919bc352ea83b7a.tar.gz
llvm-4eaf5846d0e738264d9328b4a919bc352ea83b7a.tar.bz2
[clang] Fix function pointer address space
Functions pointers should be created with program address space. This patch introduces program address space in TargetInfo. Targets with non-default (default is 0) address space for functions should explicitly set this value. This patch fixes a crash on lvalue reference to function pointer (in device code) when using oneAPI DPC++ compiler. Differential Revision: https://reviews.llvm.org/D111566
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
0 files changed, 0 insertions, 0 deletions