[PATCH] D157907: [NFC] Refactor X86TargetLowering::getGlobalWrapperKind()
Michael Buch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 23:43:51 PDT 2023
Michael137 added a comment.
In D157907#4607147 <https://reviews.llvm.org/D157907#4607147>, @aeubanks wrote:
> In D157907#4607125 <https://reviews.llvm.org/D157907#4607125>, @Michael137 wrote:
>
>> In D157907#4607118 <https://reviews.llvm.org/D157907#4607118>, @aeubanks wrote:
>>
>>> I've reverted the patch, yeah seeing the IR would be useful
>>
>> I won't be on my PC for the next 12 hours or so. I shared the IR with @jasonmolenda earlier today, hopefully he can forward it to you
>>
>> If you have access to a x86_64 (or Rosetta) Darwin machine you should be able to repro it by compiling `lldb/test/API/commands/expression/import-std-module/deque-basic/main.cpp` with your changes and attaching lldb as follows:
>>
>> ./bin/lldb a.out -o "sett set target.import-std-module true" -o "br se -p return -X main" -o run -o "expr std::sort(a.begin(), a.end())"
>
> I'm not in a rush to get this relanded so posting the IR later is fine
I sent you the module file. You should be able to repro the crash without going through LLDB by running:
./bin/lli --relocation-model=pic --code-model=large --jit-kind=mcjit --entry-function="_Z12\\$__lldb_exprPv" module.ll
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157907/new/
https://reviews.llvm.org/D157907
More information about the llvm-commits
mailing list