aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/csource.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource/csource.go')
-rw-r--r--pkg/csource/csource.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/csource/csource.go b/pkg/csource/csource.go
index 1bc1ec5ba..6d06f101d 100644
--- a/pkg/csource/csource.go
+++ b/pkg/csource/csource.go
@@ -190,6 +190,7 @@ func Write(p *prog.Prog, opts Options) ([]byte, error) {
re = regexp.MustCompile(`\t*debug_dump_data\(.*\);\n`)
out0 = re.ReplaceAllString(out0, "")
}
+ out0 = strings.Replace(out0, "NORETURN", "", -1)
// Remove duplicate new lines.
out1 := []byte(out0)