question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

  1. CTU analysis in combination to --ctu-ast-mode parse-on-demand is causing clangsa segfaults as reported at https://bugs.llvm.org/show_bug.cgi?id=47998
  2. CTU analysis fails for many files with errors of the type “unsupported AST node” CXXFoldExpr or ShuffleVectorExpr as reported here and here
  3. Because of that I am happy I can use --ctu-reanalyze-on-failure flag, but this one is marked as deprecated.

What is the recommended course of action, given that I don’t see much activity on the LLVM bugtracker?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:29 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
martongcommented, Dec 14, 2020

So, the patch(https://reviews.llvm.org/D92209) is landed in the main branch (the used to be master). So, this means it would be available in Clang 12 for sure. This seems to be quite an isolated change, so I could push towards to our LLVM release manager to try to include that in the upcoming Clang 11 bugfix branch. I am not that familiar with that procedure, though, but I’ll try my best.

1reaction
martongcommented, Nov 30, 2020

Related LLVM/Clang patch to solve the infinite loop: https://reviews.llvm.org/D92209

Read more comments on GitHub >

github_iconTop Results From Across the Web

PLC Programming Intermediate Instructions – CTU | Count Up
A step-by-step guide to the CTU (Count Up) instruction used in pair with a ... Using the same counter in multiple locations may...
Read more >
Controllogix ADD or CTU not operating properly [Text]
Hey Guys, I have an installation that has been running for about 3 years and recently some totalizer issues have started creeping up....
Read more >
Studio 5000 PLC Programming (Counter Instructions CTU ...
This video will walk through the basics of the available Counter instructions: CTU, CTD & RESPlaylist Link for further videos: ...
Read more >
My reset button on CTU block doesn't work - 262632
I'm using a CTU block to count a number of a given operation. I'm showing this count up on a screen using an...
Read more >
RsLogix 500 Training - Counters - CTU and CTD - TW Controls
In this lesson you will learn about the CTU and CTD counter instructions. ... -CD-The CTU does not write to the CD (Count...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found