Chromium Code Reviews| Index: tools/cygprofile/cygprofile2_test.cc |
| diff --git a/tools/cygprofile/cygprofile2_test.cc b/tools/cygprofile/cygprofile2_test.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ba35685b1e5d1559bf311fafb54aa1b43696f577 |
| --- /dev/null |
| +++ b/tools/cygprofile/cygprofile2_test.cc |
| @@ -0,0 +1,12 @@ |
| +// In a VS command-prompt, build with: |
| +// |
| +// "third_party\llvm-build\Release+Asserts\bin\clang-cl" tools\cygprofile\cygprofile2_test.cc -Xclang -finstrument-functions /c /Foa.obj && "third_party\llvm-build\Release+Asserts\bin\clang-cl" a.obj tools\cygprofile\cygprofile2.cc /Fea.exe && a.exe |
| + |
| + |
| +#include <stdio.h> |
| + |
| + |
| +int main() { |
| + //printf("hello\n"); |
| + return 0; |
| +} |