Unverified Commit cbdc86e4 authored by Andrew V. Teylu's avatar Andrew V. Teylu Committed by GitHub
Browse files

[clang-repl] Add call to 'InitializeAllAsmParsers' (#86727)



This PR fixes the following issue when working with `clang-repl`:

```
fatal error: error in backend: Inline asm not supported by this streamer because we don't have an asm parser for this target
```

When working with the following input (named "unit.cpp"):

```cpp
__asm(".globl _ZSt21ios_base_library_initv");
int x;
```

and then in `clang-repl`:

```
#include "unit.cpp"
x = 10;
```

Signed-off-by: default avatarAndrew V. Teylu <andrew.teylu@vector.com>
parent d799be81
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment