python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Why clang TypedefDecl is not a DeclContext
DeclContext class represents all declarations that can act as declaration contexts. As I understand, all declarations which can contain another declaration inside it should be inherited from DeclConte...
Mah35h
Votes: 0
Answers: 0
Partial SSA in LLVM
I came across this concept of partial SSA in LLVM where LLVM identifies two classes of variables: (1) top-level variables are those that cannot be referenced indirectly via a
pointer, i.e., those whos...
lava_07
Votes: 0
Answers: 0
Dynamically sized arrays in LLVM-IR by allocating new memory if the size became bigger
I’ve been thinking on how I could implement arrays can be implemented, without the size of the array being known at compile-time.
An idea was to check if the size of the object trying to be allocated ...

tommasopeduzzi
Votes: 0
Answers: 0
Segfault when assigning to std::unique_ptr<llvm::Module> with make_unique
I've been trying to create a simple compiler using the llvm API in C++, and it used to work fine, until the following snippet of code started to trigger segfaults over and over again:
// codegen.cpp
...
Sjoerd Vermeulen
Votes: 0
Answers: 0