Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(380)

Unified Diff: src/pkg/debug/dwarf/type.go

Issue 4708042: code review 4708042: [release-branch.r58] cgo: handle new Apple LLVM-based g... (Closed)
Patch Set: diff -r 4daf1e36d3c9 https://go.googlecode.com/hg/ Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/cgo/gcc.go ('k') | src/pkg/debug/elf/file.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/debug/dwarf/type.go
===================================================================
--- a/src/pkg/debug/dwarf/type.go
+++ b/src/pkg/debug/dwarf/type.go
@@ -352,8 +352,8 @@
}
}
if ndim == 0 {
- err = DecodeError{"info", e.Offset, "missing dimension for array"}
- goto Error
+ // LLVM generates this for x[].
+ t.Count = -1
}
case TagBaseType:
« no previous file with comments | « src/cmd/cgo/gcc.go ('k') | src/pkg/debug/elf/file.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b