This is an archive of the discontinued LLVM Phabricator instance.

Fix in-memory section loading for JIT-ed code.
ClosedPublic

Authored by ovyalov on Dec 2 2015, 6:13 PM.

Details

Summary

Debug sections for JIT-ed code are stored in-memory and loaded as part of module's image once __jit_debug_register_code is called -
if we cannot load a section by its base load address try to load it from in-memory data buffer if possible.

Diff Detail

Event Timeline

ovyalov updated this revision to Diff 41704.Dec 2 2015, 6:13 PM
ovyalov retitled this revision from to Fix in-memory section loading for JIT-ed code..
ovyalov updated this object.
ovyalov added reviewers: clayborg, tberghammer.
ovyalov added a subscriber: lldb-commits.
tberghammer accepted this revision.Dec 3 2015, 3:37 AM
tberghammer edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 3 2015, 3:37 AM
clayborg accepted this revision.Dec 3 2015, 9:23 AM
clayborg edited edge metadata.