[PATCH] remove std::string in dr_init for optimized hybrid execution
Qin Zhao
zhaoqin at google.com
Wed Dec 4 10:16:53 PST 2013
Hi eugenis,
remove std::string in dr_init for optimized hybrid execution
http://llvm-reviews.chandlerc.com/D2330
Files:
msandr.cc
Index: msandr.cc
===================================================================
--- msandr.cc
+++ msandr.cc
@@ -792,6 +792,8 @@
drmgr_init();
drutil_init();
+#ifndef MSANDR_NATIVE_EXEC
+ // We should use drconfig to ignore these applications.
std::string app_name = dr_get_application_name();
// This blacklist will still run these apps through DR's code cache. On the
// other hand, we are able to follow children of these apps.
@@ -802,6 +804,7 @@
app_name == "sh" || app_name == "true" || app_name == "exit" ||
app_name == "yes" || app_name == "echo")
return;
+#endif /* !MSANDR_NATIVE_EXEC */
drsys_options_t ops;
memset(&ops, 0, sizeof(ops));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2330.1.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131204/5a45bb94/attachment.bin>
More information about the llvm-commits
mailing list