This is an archive of the discontinued LLVM Phabricator instance.

Add support for memory operations (load/store/gep) in C API echo test
ClosedPublic

Authored by deadalnix on Feb 14 2016, 2:25 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

deadalnix updated this revision to Diff 47931.Feb 14 2016, 2:25 PM
deadalnix retitled this revision from to Add support for memory operations (load/store/gep) in C API echo test.
deadalnix updated this object.
deadalnix added a subscriber: llvm-commits.
mehdi_amini added inline comments.Feb 17 2016, 2:13 PM
include/llvm-c/Core.h
2568 ↗(On Diff #47931)

Doxygen.

tools/llvm-c-test/echo.cpp
243 ↗(On Diff #47931)

Is it related to the C API addition/modification done in this patch?

mehdi_amini accepted this revision.Feb 17 2016, 2:14 PM
mehdi_amini edited edge metadata.

LGTM provided you take into account the two previous comments.

This revision is now accepted and ready to land.Feb 17 2016, 2:14 PM
deadalnix added inline comments.Feb 17 2016, 2:50 PM
include/llvm-c/Core.h
2568 ↗(On Diff #47931)

You got it.

tools/llvm-c-test/echo.cpp
243 ↗(On Diff #47931)

The test case use a zeroinitializer, and that's how you get one from the API.

This revision was automatically updated to reflect the committed changes.