search for: before_link

Displaying 1 result from an estimated 1 matches for "before_link".

2020 May 28
2
Question: llvm-link type merge behaviour of c++ classes
...for IR code which gets stuck in finding matching calls for function pointers. The changing and merging in these types messes up the current logic of finding matching candidates. To reproduce this code, find the c++ code below and use the following invocations: ``` clang++-9 mwe.cc -S -emit-llvm -o before_link.ll llvm-link-9 -S before_link.ll -o after_link.ll ``` mwe.cc ``` // #include "shapes.h" // shapes.h content follows class Shape {   public:     int width, height; }; class Rectangle : public Shape {   public:     bool is_square; }; class Container {   public:     void insert(Shape* s){...