Xinliang David Li
690c31f104
[profile] PROF_ERR, PROF_WARN
...
1) Move common prefix to the macro def
2) Introduced PROF_WARN
3) Make error message unconditionally printed out.
llvm-svn: 270185
2016-05-20 05:15:42 +00:00
Vedant Kumar
62f0576c5c
[profile] Remove quotes around env variable, NFC
...
llvm-svn: 264824
2016-03-30 04:36:10 +00:00
Vedant Kumar
989bc4bfd6
[profile] Test error reporting by writing to a temp directory
...
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!
llvm-svn: 264817
2016-03-30 01:30:47 +00:00
Vedant Kumar
dcafeddfb7
[profile] Make a test work if run by the super-user
...
llvm-svn: 264773
2016-03-29 19:24:58 +00:00
Sean Silva
58cba2b27d
[libprofile] Add some missing `env` prefixes on commands.
...
llvm-svn: 264490
2016-03-26 03:37:45 +00:00
Xinliang David Li
9ea3064be5
[PGO] Introduce error report macro in profile-rt
...
Also added a test case for runtime error reporting.
llvm-svn: 254625
2015-12-03 18:31:59 +00:00