From effe83657d4a26ab1f3132152dae212e54e66a04 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 23 Oct 2012 21:29:20 +0000 Subject: gold/ * fileread.cc (Input_file::Input_file): New constructor. * fileread.h (class Input_file): Add new constructor. --- gold/fileread.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gold/fileread.h') diff --git a/gold/fileread.h b/gold/fileread.h index 02c7a64..08a4583 100644 --- a/gold/fileread.h +++ b/gold/fileread.h @@ -493,6 +493,9 @@ class Input_file is_in_sysroot_(false), format_(FORMAT_NONE) { } + // Create an input file given just a filename. + Input_file(const char* name); + // Create an input file with the contents already provided. This is // only used for testing. With this path, don't call the open // method. -- cgit v1.1