// REQUIRES: osx-ld64-live_support

// Compiling with PGO/code coverage on Darwin should raise no warnings or errors
// when using an exports list.

// RUN: echo "_main" > %t.exports
// RUN: %clang_pgogen -Werror -Wl,-exported_symbols_list,%t.exports -o %t %s 2>&1 | tee %t.log
// RUN: %clang_profgen -Werror -fcoverage-mapping -Wl,-exported_symbols_list,%t.exports -o %t %s 2>&1 | tee -a %t.log
// RUN: cat %t.log | count 0

int main() {}

Add an integration test for PGO + symbol exports
[Darwin] Add an integration test for PGO + symbol exports

rdar://41470205

git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@335891 91177308-0d34-0410-b5e6-96231b3b80d8
