aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorRishabh Bali <rishabhsbali@gmail.com>2023-05-05 13:11:16 -0400
committerAaron Ballman <aaron@aaronballman.com>2023-05-05 13:11:16 -0400
commit0b3d737877040a4eae03e47223f9a9ddfd7bd182 (patch)
tree8f05d038caa61828375aa7f711c9a9e5acd61a30 /lldb/source/Commands/CommandObjectSource.cpp
parentebae4cc7cbe26cad2785106b0fc15a71a4b682ab (diff)
downloadllvm-0b3d737877040a4eae03e47223f9a9ddfd7bd182.zip
llvm-0b3d737877040a4eae03e47223f9a9ddfd7bd182.tar.gz
llvm-0b3d737877040a4eae03e47223f9a9ddfd7bd182.tar.bz2
Check if First argument in _builtin_assume_aligned_ is of pointer type
Currently clang doesn't verify if the first argument in `_builtin_assume_aligned` is of pointer type. This leads to an assertion build failure. This patch aims to add a check if the first argument is of pointer type or not and diagnose it with diag::err_typecheck_convert_incompatible if its not of pointer type. Fixes https://github.com/llvm/llvm-project/issues/62305 Differential Revision: https://reviews.llvm.org/D149514
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
0 files changed, 0 insertions, 0 deletions