Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: tools/cygprofile/cygprofile2_test.cc

Issue 2924093003: (Do not land) Very hacky patch for using -fprofile-functions in the Win-Clang build
Patch Set: Add code to print functions by call frquency Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/cygprofile/cygprofile2.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+}
« no previous file with comments | « tools/cygprofile/cygprofile2.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698