aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2023-06-23 07:02:21 -0400
committerAaron Ballman <aaron@aaronballman.com>2023-06-23 07:02:21 -0400
commit63342ae4b8f7573fd03fdb6eb38d55097b9a6922 (patch)
tree2b0e408b27a173c86446638b7e77a41279332eac /llvm/lib/Object/ObjectFile.cpp
parent041ffc155fd7d154af1ea59853fbe5932d0216d3 (diff)
downloadllvm-63342ae4b8f7573fd03fdb6eb38d55097b9a6922.zip
llvm-63342ae4b8f7573fd03fdb6eb38d55097b9a6922.tar.gz
llvm-63342ae4b8f7573fd03fdb6eb38d55097b9a6922.tar.bz2
Fix a failing assertion with implicit function definitions
When implicitly defining a function in C, we would try to find an appropriate declaration context for the function to be declared within. However, we did not account for GNU statement expressions, which masquerade as a compound statement and can be used in other contexts such as within structure member declarations. Fixes https://github.com/llvm/llvm-project/issues/48579
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions