This is an archive of the discontinued LLVM Phabricator instance.

Convert open options for POSIX open on target platform.
ClosedPublic

Authored by flackr on Mar 17 2015, 2:12 PM.

Details

Summary

This moves the conversion of the open options to the target platform. On mac fcntl.h has different values for O_CREAT and O_TRUNC than on linux so by transmitting the standardized lldb open options we can correctly convert them on the target platform.

Diff Detail

Repository
rL LLVM

Event Timeline

flackr updated this revision to Diff 22127.Mar 17 2015, 2:12 PM
flackr retitled this revision from to Convert open options for POSIX open on target platform..
flackr updated this object.
flackr edited the test plan for this revision. (Show Details)
flackr added a reviewer: ovyalov.
flackr set the repository for this revision to rL LLVM.
flackr added a subscriber: Unknown Object (MLST).
ovyalov accepted this revision.Mar 17 2015, 2:50 PM
ovyalov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 17 2015, 2:50 PM
This revision was automatically updated to reflect the committed changes.