mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-23 11:49:46 +00:00
Fix Go IR test for changes in DIBuilder API
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc78d747e4
commit
755a219640
@ -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…
Reference in New Issue
Block a user