Please don’t send questions to both cfe-dev and llvm-dev; usually one or the other is more appropriate (in this case, it’s llvm-dev, since there’s no clang code involved).
I think you meant to call ConstantArray::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
From: cfe-dev <[hidden email]> On Behalf Of
Mustakimur Rahman Khandaker (Mustakim) via cfe-dev Sent: Monday, January 28, 2019 12:12 PM To:[hidden email]; [hidden email] Subject: [EXT] [cfe-dev] Create a BlockAddress array from LLVM Pass
Good day. For the following function local static constant array: