commit 25e38be3efeeb9ce737c468665c15c7cc9353201
parent f6a40989ee59f9e61b0df2eb12868c8ed8936d45
Author: Kyle Milz <kyle@0x30.net>
Date: Tue, 2 Aug 2016 17:55:30 -0600
src: fix build break and add PATH logging
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/inst_main.cc b/src/inst_main.cc
@@ -42,13 +42,13 @@ public:
CitrunInst(int, char *argv[]);
~CitrunInst();
+ void clean_path();
void process_cmdline();
int instrument();
void patch_link_command();
int compile_modified();
private:
- void clean_path();
int fork_compiler();
void restore_original_src();
@@ -312,6 +312,8 @@ CitrunInst::clean_path()
errx(1, "PATH must be set");
}
+ m_log << m_pfx << "PATH='" << path << "'\n";
+
// Filter CITRUN_PATH out of PATH
std::stringstream path_ss(path);
std::ostringstream new_path;