This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Add a positive test for `getelementptr` constant args
ClosedPublic

Authored by werat on Feb 14 2022, 9:27 AM.

Details

Summary

The IR interpreter supports const operands to the GetElementPtr IR
instruction, so it should be able to evaluate expression without JIT.

Follow up to https://reviews.llvm.org/D113498

Diff Detail

Event Timeline

werat requested review of this revision.Feb 14 2022, 9:27 AM
werat created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 14 2022, 9:27 AM
werat edited the summary of this revision. (Show Details)Feb 14 2022, 9:28 AM
shafik accepted this revision.Feb 14 2022, 9:33 AM

Thank you! LGTM

This revision is now accepted and ready to land.Feb 14 2022, 9:33 AM