mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 14:16:12 +00:00
Fix Go IR test for changes in DIBuilder API
llvm-svn: 329021
This commit is contained in:
parent
4964c3831d
commit
ee938eb427
@ -112,7 +112,11 @@ func TestDebugLoc(t *testing.T) {
|
||||
}()
|
||||
file := d.CreateFile("dummy_file", "dummy_dir")
|
||||
voidInfo := d.CreateBasicType(DIBasicType{Name: "void"})
|
||||
typeInfo := d.CreateSubroutineType(DISubroutineType{file, []Metadata{voidInfo}})
|
||||
typeInfo := d.CreateSubroutineType(DISubroutineType{
|
||||
File: file,
|
||||
Parameters: []Metadata{voidInfo},
|
||||
Flags: 0,
|
||||
})
|
||||
scope := d.CreateFunction(file, DIFunction{
|
||||
Name: "foo",
|
||||
LinkageName: "foo",
|
||||
|
Loading…
x
Reference in New Issue
Block a user