GaloisInc / llvm-pretty

An llvm pretty printer inspired by the haskell llvm binding
Other
28 stars 15 forks source link

Nullability in DITemplateType and DITemplateValue #48

Closed langston-barrett closed 4 years ago

langston-barrett commented 5 years ago

Output from clang++ and llvm-dis 6:

!385 = !DITemplateTypeParameter(name: "_Up", type: !124)
!386 = !DITemplateTypeParameter(name: "_Ep", type: !168)
!387 = !DITemplateTypeParameter(type: null)

LLVM source:

langston-barrett commented 5 years ago

Here's some output from llvm-bcanalyzer on that same file (note the zeroes):

    <TEMPLATE_TYPE op0=0 op1=0 op2=3988/>

and later:

    <TEMPLATE_VALUE op0=0 op1=48 op2=707 op3=3931 op4=3660/>
langston-barrett commented 4 years ago

Closing to minimize the Fryingpan build matrix.