summaryrefslogtreecommitdiff
path: root/src/passes/PrintFunctionMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/PrintFunctionMap.cpp')
-rw-r--r--src/passes/PrintFunctionMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/PrintFunctionMap.cpp b/src/passes/PrintFunctionMap.cpp
index 08f5a359b..4fe266ec0 100644
--- a/src/passes/PrintFunctionMap.cpp
+++ b/src/passes/PrintFunctionMap.cpp
@@ -37,7 +37,7 @@ struct PrintFunctionMap : public Pass {
void run(Module* module) override {
// If an argument is provided, write to that file; otherwise write to
// stdout.
- auto outFile = getPassOptions().getArgumentOrDefault("symbolmap", "");
+ auto outFile = getArgumentOrDefault("symbolmap", "");
Output output(outFile, Flags::Text);
auto& o = output.getStream();
Index i = 0;