This is an archive of the discontinued LLVM Phabricator instance.

Allow compiler-rt tests to be run on a simulator or remotely
AbandonedPublic

Authored by garious on Apr 18 2014, 9:21 AM.

Details

Reviewers
samsonov
Summary

With this patch, tests can add "%run" to run executables on a simulator or remotely. This patch only adds %run to the 'profile' test. A following patch adds "%run" to the test cases.

Diff Detail

Event Timeline

garious updated this revision to Diff 8899.Apr 28 2014, 3:38 PM
garious edited edge metadata.

Rebased

Hi Greg,

I can't say I understand this patch, but the change would be much appreciated! ;)

From what I can see, it seems similar to what the others around it are, and you're using COMPILER_RT flags rather than ASAN (I'm assuming they're set directly somewhere else).

What I don't understand is how you turn %run off if you're not cross compiling.

cheers,
--renato

garious updated this revision to Diff 8941.Apr 29 2014, 2:06 PM

Fixed get_required_attr(). An empty string is a valid set of target_cflags.

Committed in r207707

garious abandoned this revision.May 6 2014, 10:52 AM