summaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-10-23 21:29:20 +0000
committerCary Coutant <ccoutant@google.com>2012-10-23 21:29:20 +0000
commiteffe83657d4a26ab1f3132152dae212e54e66a04 (patch)
treec6e7eeb4bb551dcb820ae735b2a1e5e36d410c03 /gold/fileread.h
parent274bd0009d29e1f97339aa8ce247ffe11a4e86e2 (diff)
gold/
* fileread.cc (Input_file::Input_file): New constructor. * fileread.h (class Input_file): Add new constructor.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r--gold/fileread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/fileread.h b/gold/fileread.h
index 02c7a641e1..08a4583943 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.