eren555

1

votes
2

answer
551

views

llvm - get label of br instruction

My question is simple. Given an instruction of type branch, how do I extract the label out of it? For example: br label %while.cond Should give me while.cond br label %while.end Should give me while.end br i1 %cmp1, label %if.then, label %if.end Should give me if, if.then, if.end respectively.
Eren555
1

votes
1

answer
286

views

React - install react-table

I am trying to install react-table but I am having trouble setting up the CDN. My current index.html file is as follows: Code_LMS Can anyone please tell me where I should place the links/script mentioned in the CDN in my index.html file a way that doesn't mess up my dependencies? Thank you!
Eren555
1

votes
1

answer
187

views

llvm - Pass arguments to a pass

I need to tell the pass to look out for a specific function in the file. And I want to specify which function to look out for 'on the go' i.e when I run the pass. Any idea how I can do that? It's sort of like passing arguments to a function in theory.
Eren555
5

votes
1

answer
2.8k

views

React router v4 - How do you access the state that is passed via Redirect?

I am making a login page with the help of react that redirects to another page when the login is successful. Let me call the component that gets rendered when the login is successful 'A'. I want to pass data fetched from the database to component A and I am doing so by passing it in the 'state' attr...
eren555