summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2025-03-07 10:59:03 -0800
committerGitHub <noreply@github.com>2025-03-07 10:59:03 -0800
commit8a43bc2c0989864f2635b4f79bb2d453a15cfd9a (patch)
tree1e76f7ceacf50754a0a20eb014245a457c0b942c /lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp
parent106c96462f2411ae8e84764feeb11246b997a169 (diff)
[MLIR][LLVMIR] Import: fix llvm.call attribute inheritance (#130221)
`inst->getFnAttr(Kind)` fallbacks to check if the parent has an attribute, which breaks roundtriping the LLVM IR. This change actually checks only in the call attribute list (no fallback to parent queries). It's possible to argue that this small optimization isn't harmful, but seems too early if it's breaking roundtrip behavior.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JSON/ObjectFileJSON.cpp')
0 files changed, 0 insertions, 0 deletions