SahilPatidar wrote:

Yes, I think this way:
```cpp
extern "C" int printf(const char *, ...);
static int sf(int x);
static int sf(int x) { return x + 1; }
%undo
auto sfr = printf("sf=%d\n", sf(10));
// CHECK-NOT: sf=11
// CHECK: JIT session error: Symbols not found
```

https://github.com/llvm/llvm-project/pull/234493
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to