main: comment the TinyGo IR header line

Without this, clang tries to process the header line as part of
its valid input. eg:

  main.ll:1:1: error: expected top-level entity
  Generated LLVM IR:
  ^
This commit is contained in:
Justin Clift
2019-05-09 18:54:11 +10:00
committed by Ayke van Laethem
parent 019331e8af
commit 1113f9ec0c
+1 -1
View File
@@ -110,7 +110,7 @@ func Compile(pkgName, outpath string, spec *TargetSpec, config *BuildConfig, act
return &multiError{errs}
}
if config.printIR {
fmt.Println("Generated LLVM IR:")
fmt.Println("; Generated LLVM IR:")
fmt.Println(c.IR())
}
if err := c.Verify(); err != nil {