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

Templateissue #27

Closed
wants to merge 3 commits into from
Closed

Templateissue #27

wants to merge 3 commits into from

Commits on Sep 9, 2019

  1. A directory for Data Flow Analysis is added in lib/ and include/.

    A sample class is added just to check how to add any functionality in
    llvm.
    s-nil committed Sep 9, 2019
    Configuration menu
    Copy the full SHA
    6f97759 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2019

  1. FlowSet abstract class is being created as a template that would be a

    linkedlist to support different type of values(llvm). But there is some
    issue in the push_back function declaration. After doing changes, llvm
    is being built successfully but while using this in a pass an error is
    being thrown when trying to run the pass. Pass is being built
    successfully but while loading the pass using opt and running it with a
    program symbol lookup error is being thrown.
    s-nil committed Sep 28, 2019
    Configuration menu
    Copy the full SHA
    ef18c40 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. The issue is fixed. This issue was there because in order for the

    compiler to use a template, it must see both the template definition
    (not just a declaration) and the template type used to instantiate the
    template.
    
    refer https://www.learncpp.com/cpp-tutorial/133-template-classes/ (last
    section)
    
    Look at the ways to work around.
    s-nil committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    a5ee392 View commit details
    Browse the repository at this point in the history