Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: invalid field 'variables' #1

Open
ML2jinmyoung opened this issue Jun 16, 2020 · 0 comments
Open

error: invalid field 'variables' #1

ML2jinmyoung opened this issue Jun 16, 2020 · 0 comments

Comments

@ML2jinmyoung
Copy link
Member

I built and ran the llvm-block on the Linux server but there were some problems.

(1) I looked up output file, the result of llvm-block beforeg.ll afterg.ll 2 > output
and it said,

llvm-fixblock: afterg.ll:588:192: error: invalid field 'variables'
!47 = distinct !DISubprogram(name: "main", scope: !3, file: !3, line: 22, type: !48, isLocal: false, isDefinition: true, scopeLine: 23, flags: DIFlagPrototyped, isOptimized: false, unit: !2, variables: !50)
^
Segmentation fault (core dumped)

(2) opt -dot-cfg wrote 'cfg.main.dot', but it should be writing two '.main.dot'.
Because of those problems, I failed to draw graphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant