diff options
author | Zequan Wu <zequanwu@google.com> | 2024-10-29 13:23:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 16:23:33 -0400 |
commit | 8193832fb988e3df1e8e726634783805dca8d9b6 (patch) | |
tree | eb29567557b0e8295b5439ab9c07b250b55b9e4d /llvm/lib/CodeGen/MachineModuleSlotTracker.cpp | |
parent | 70af40ba74cf62fdaa3ae1d7db972c138655049f (diff) | |
download | llvm-8193832fb988e3df1e8e726634783805dca8d9b6.zip llvm-8193832fb988e3df1e8e726634783805dca8d9b6.tar.gz llvm-8193832fb988e3df1e8e726634783805dca8d9b6.tar.bz2 |
[lldb] Search main function with lldb::eFunctionNameTypeFull when getting default file and line. (#113980)
This is to work around the fact that
`SymbolFileNativePDB::FindFunctions` only support
`lldb::eFunctionNameTypeFull` and `lldb::eFunctionNameTypeMethod` now.
Since `main`'s full name is the same as base name (`main`), it's okay to
search with `lldb::eFunctionNameTypeFull` when trying to get the default
file and line. With this, `lldb/test/Shell/Driver/TestSingleQuote.test`
passes on Windows with NativePDB plugin.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleSlotTracker.cpp')
0 files changed, 0 insertions, 0 deletions