<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/149762>149762</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang] crashes on pragma push_macro
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:frontend,
            crash
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          k-arrows
      </td>
    </tr>
</table>

<pre>
    Reproducer:
https://godbolt.org/z/snbxaecxM
```cpp
#pragma push_macro("")
```

Backtrace:
```console
clang++: /root/llvm-project/llvm/tools/clang/lib/Lex/Preprocessor.cpp:714: clang::IdentifierInfo* clang::Preprocessor::LookUpIdentifierInfo(clang::Token&) const: Assertion `!Identifier.getRawIdentifier().empty() && "No raw identifier data!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /opt/compiler-explorer/clang-assertions-trunk/bin/clang++ -gdwarf-4 -g -o /app/output.s -mllvm --x86-asm-syntax=intel -fno-verbose-asm -S --gcc-toolchain=/opt/compiler-explorer/gcc-snapshot -fcolor-diagnostics -fno-crash-diagnostics <source>
1.      <source>:1:2: current parser token 'pragma'
 #0 0x0000000003fc1498 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3fc1498)
 #1 0x0000000003fbe8c4 llvm::sys::CleanupOnSignal(unsigned long) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3fbe8c4)
 #2 0x0000000003f03098 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #3 0x00007b311ea42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007b311ea969fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x00007b311ea42476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007b311ea287f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00007b311ea2871b (/lib/x86_64-linux-gnu/libc.so.6+0x2871b)
 #8 0x00007b311ea39e96 (/lib/x86_64-linux-gnu/libc.so.6+0x39e96)
 #9 0x0000000007eb069d (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7eb069d)
#10 0x0000000007e98d3f clang::Preprocessor::ParsePragmaPushOrPopMacro(clang::Token&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7e98d3f)
#11 0x0000000007ea1732 clang::Preprocessor::HandlePragmaPushMacro(clang::Token&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7ea1732)
#12 0x0000000007e9bff7 clang::PragmaNamespace::HandlePragma(clang::Preprocessor&, clang::PragmaIntroducer, clang::Token&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7e9bff7)
#13 0x0000000007e9716c clang::Preprocessor::HandlePragmaDirective(clang::PragmaIntroducer) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7e9716c)
#14 0x0000000007e6ff4c clang::Preprocessor::HandleDirective(clang::Token&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7e6ff4c)
#15 0x0000000007e0dfca clang::Lexer::LexTokenInternal(clang::Token&, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7e0dfca)
#16 0x0000000007e101a8 clang::Lexer::Lex(clang::Token&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7e101a8)
#17 0x0000000007eb36dc clang::Preprocessor::Lex(clang::Token&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x7eb36dc)
#18 0x0000000006668682 clang::Parser::ConsumeToken() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6668682)
#19 0x0000000006666288 clang::ParseAST(clang::Sema&, bool, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6666288)
#20 0x0000000004970188 clang::CodeGenAction::ExecuteAction() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4970188)
#21 0x0000000004c64025 clang::FrontendAction::Execute() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4c64025)
#22 0x0000000004be0e6e clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4be0e6e)
#23 0x0000000004d57b01 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4d57b01)
#24 0x0000000000d9ec4f cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xd9ec4f)
#25 0x0000000000d9582a ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) driver.cpp:0:0
#26 0x00000000049d7709 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#27 0x0000000003f03534 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x3f03534)
#28 0x00000000049d7d1f clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0
#29 0x0000000004999d6d clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4999d6d)
#30 0x000000000499adfe clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x499adfe)
#31 0x00000000049a3945 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x49a3945)
#32 0x0000000000d9b0ff clang_main(int, char**, llvm::ToolContext const&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xd9b0ff)
#33 0x0000000000c4f5b4 main (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xc4f5b4)
#34 0x00007b311ea29d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#35 0x00007b311ea29e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#36 0x0000000000d952d5 _start (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xd952d5)
clang++: error: clang frontend command failed with exit code 134 (use -v to see invocation)
Compiler returned: 134
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzkWVtz4yrW_TX4hZILofuDH9RO-_vS1eecVKdnXl0IkK2JBCpAiTO_fgokW5dcTmcq7pfpSlfJEmzWWnuz2QDRujoIzjcg-gKimxXpzFGqzYNHlJJPelVI9rz5wVslWUe5AkEOUH40ptX2Ee8A3h0kK2Rt1lIdAN79G-CdFsWJcHr6A6AcxKj_o21rf-KgVeTQENh2-rhvCFUS4BRg7P6yaQ_7jPIvhD4YRSjvxx7tSaFlzQHKaU3EAeAv9i_IIcA7JaUBeFfXj43XKvkvTs8_Ad4ZKWsN8G7otqurAuDdd34CeHenLFXKtZZqbREHeeKH1mrfOshBkN8yLkxVVlzdilICPPs4tdC_-S7lwz_aZad00uenfOAC4BjgDFpaxg6Ya82VqaSAli_2RwPrAzc_yNP4wgmYrXnTmuf-GTprMQQY_ymhIk-wurSGjBgCsO8ET2BJqpqzNUD53fev-f1XqLuiqQwksOgOUPFWKgONhAunV-bYFWsqm1HYhdyV1h23QkMiGKwErTvGoTlySBXRR1hcHIu3sL3IxhnUslP9a9uTaC1pR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