This is an archive of the discontinued LLVM Phabricator instance.

[XRay][compiler-rt] Add a test for -fPIE
AbandonedPublic

Authored by dberris on Mar 26 2017, 8:35 PM.

Details

Summary

Ensure that builds using -fPIE and -mpie-copy-relocations and XRay work
just fine.

Event Timeline

dberris created this revision.Mar 26 2017, 8:35 PM
dberris planned changes to this revision.Mar 27 2017, 4:40 PM

@pelikan points out offline that this isn't exactly exercising quite the right parts of clang that will make copy relocations. I'll stew on this a little and try to figure out a way to make sure we're doing the right thing here.

dberris abandoned this revision.Mar 28 2017, 9:30 PM

Realized that this isn't the best way to approach this (and that it's not something we actually need to test this way). Closing for further exploration later.