llvm-project/lldb/source/Plugins/ObjectFile
Raphael Isemann ffb3fd8f18 Partially revert '[MachO] Update embedded part of ObjectFileMachO for Mangled API change'
Commit f3aa9e36d9 fixed the embedded OS
build by removing all passed args for `GetName`/`GetDemangledName`. The motivation
for this was that these arguments were apparently removed in
commit 22b044877d. However, only `GetName`'s language
argument was removed but the mangling preference argument was *not* removed
(and unfortunately had a default argument). So when that commit removed all
the args it didn't just fix the build but it also changed all the mangling
preferences to 'demangled' for all `GetName` calls.

Also some `GetName` calls were outside the TARGET_OS_EMBEDDED ifdef, so
this change ended up breaking the following tests on macOS:

  lldb-api :: lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
  lldb-api :: lang/objc/objc-super/TestObjCSuper.py

From what I can see f3aa9e36d9 removed 12 ePreferMangled args and this patch
re-adds 12 args with roughly the same line numbers, so this *should* restore the
old behaviour and also keep the embedded build working. On the other hand,
ObjectFileMachO::ParseSymtab is a very successful attempt at writing
the longest possible function within LLVM, so this fix is partly based
on the engineering principle known as "hoping for the best".
2020-11-20 13:31:36 +01:00
..
Breakpad Support build-ids of other sizes than 16 in UUID::SetFromStringRef 2020-06-07 10:03:41 +00:00
ELF [lldb/Module] Allow for the creation of memory-only modules 2020-07-14 08:45:44 -07:00
JIT [lldb] Use std::make_unique<> (NFC) 2020-06-24 17:48:40 -07:00
Mach-O Partially revert '[MachO] Update embedded part of ObjectFileMachO for Mangled API change' 2020-11-20 13:31:36 +01:00
PDB [lldb][NFC] Refactor getUUID functionality 2020-10-30 10:44:37 -07:00
PECOFF [lldb][NFC] Refactor getUUID functionality 2020-10-30 10:44:37 -07:00
wasm [lldb] Switch Section-dumping code to raw_ostream 2020-05-14 11:59:18 +02:00
CMakeLists.txt [lldb][PDB] Add ObjectFile PDB plugin 2020-10-26 10:28:48 -07:00