summaryrefslogtreecommitdiff
path: root/test/profile/instrprof-error.c
AgeCommit message (Collapse)Author
2016-05-20[profile] PROF_ERR, PROF_WARNXinliang David Li
1) Move common prefix to the macro def 2) Introduced PROF_WARN 3) Make error message unconditionally printed out. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@270185 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-30[profile] Remove quotes around env variable, NFCVedant Kumar
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264824 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-30[profile] Test error reporting by writing to a temp directoryVedant Kumar
This test case is meant to check whether verbose error logging works. It does this by _failing_ to write a profile to a path corresponding to a directory. Make this clearer by writing to a temporary directory. Patch suggested by Sean Silva! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264817 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-29[profile] Make a test work if run by the super-userVedant Kumar
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264773 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-26[libprofile] Add some missing `env` prefixes on commands.Sean Silva
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264490 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-03[PGO] Introduce error report macro in profile-rtXinliang David Li
Also added a test case for runtime error reporting. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254625 91177308-0d34-0410-b5e6-96231b3b80d8