Displaying 2 results from an estimated 2 matches for "mustakim".
Did you mean:
mustakimur
2019 Jan 29
2
[cfe-dev] Create a BlockAddress array from LLVM Pass
...ay::get, not ConstantDataArray::get. (We should probably fix ConstantDataArray::get() to use enable_if or something like that, so your example fails to compile instead of generating a weird runtime error.)
>
> -Eli
>
> From: cfe-dev <cfe-dev-bounces at lists.llvm.org> On Behalf Of Mustakimur Rahman Khandaker (Mustakim) via cfe-dev
> Sent: Monday, January 28, 2019 12:12 PM
> To: llvm-dev at lists.llvm.org; cfe-dev at lists.llvm.org
> Subject: [EXT] [cfe-dev] Create a BlockAddress array from LLVM Pass
>
>
>
> Hi
>
>
> Good day. For the following function l...
2019 Jan 28
2
Create a BlockAddress array from LLVM Pass
Hi
Good day. For the following function local static constant array:
static const __attribute__((used))
__attribute__((section("data"))) void *codetable[] = {
&&RETURN, &&INCREMENT, &&DECREMENT, &&DOUBLE, &&SWAPWORD};
I have the following in the LLVM IR.
@sampleCode.codetable = internal global [5 x i8*] [i8* blockaddress(@sampleCode, %19), i8*