diff options
author | Stephen Long <steplong@quicinc.com> | 2022-06-28 06:45:18 -0700 |
---|---|---|
committer | Stephen Long <steplong@quicinc.com> | 2022-06-29 06:45:59 -0700 |
commit | f382545b2ba8a39435f7efa02dadc722c429d2cd (patch) | |
tree | b889896f236fc080ae423f85a988c462bbca0193 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 7758f3aa9683118681be79a7379d38f5effefd87 (diff) | |
download | llvm-f382545b2ba8a39435f7efa02dadc722c429d2cd.zip llvm-f382545b2ba8a39435f7efa02dadc722c429d2cd.tar.gz llvm-f382545b2ba8a39435f7efa02dadc722c429d2cd.tar.bz2 |
[clang-cl] Handle some pragma alloc_text corner cases handled by MSVC
MSVC's pragma alloc_text accepts a function that was redeclared in
a non extern-C context if the previous declaration was in an extern-C
context. i.e.
```
extern "C" { static void f(); }
static void f();
```
MSVC's pragma alloc_text also rejects non-functions.
Reviewed By: hans
Differential Revision: https://reviews.llvm.org/D128649
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions