[all-commits] [llvm/llvm-project] f57b35: [lldb][tests] Posix function strdup requires macro...

Tatyana Krasnukha via All-commits all-commits at lists.llvm.org
Thu Dec 26 07:49:55 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f57b35af2f00791d1203080c43ca1d87db6cad41
      https://github.com/llvm/llvm-project/commit/f57b35af2f00791d1203080c43ca1d87db6cad41
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/functionalities/exec/main.cpp

  Log Message:
  -----------
  [lldb][tests] Posix function strdup requires macro _POSIX_C_SOURCE


  Commit: a58bd0e42cf21a80c0f2c69bddf8fe32b6e99a40
      https://github.com/llvm/llvm-project/commit/a58bd0e42cf21a80c0f2c69bddf8fe32b6e99a40
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py

  Log Message:
  -----------
  [lldb][tests] Platform triple can be None

If a remote target is not connected, SBPlatform's GetTriple function returns None.


  Commit: 04359f48f02105d15ad1dd7e8d83801260794e18
      https://github.com/llvm/llvm-project/commit/04359f48f02105d15ad1dd7e8d83801260794e18
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/api/command-return-object/main.cpp

  Log Message:
  -----------
  [lldb][NFC] Simplify if-return


  Commit: b7c45ac35295f4d90cdc9430ab159c3b396e75ee
      https://github.com/llvm/llvm-project/commit/b7c45ac35295f4d90cdc9430ab159c3b396e75ee
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/test_categories.py

  Log Message:
  -----------
  [lldb][NFC] Add "lldb-vscode" to all_categories

Required to make the category manually disableable.


  Commit: b0469eede2857f8c15bbec3db7605f699324befb
      https://github.com/llvm/llvm-project/commit/b0469eede2857f8c15bbec3db7605f699324befb
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

  Log Message:
  -----------
  [lldb][NFC] Move lock scope where it should begin


  Commit: e2d3eb00ccd8bd789636464791f4acdd6e0c4583
      https://github.com/llvm/llvm-project/commit/e2d3eb00ccd8bd789636464791f4acdd6e0c4583
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/include/lldb/Symbol/DebugMacros.h

  Log Message:
  -----------
  [lldb] Specify unsigned underlying type for an enumeration explicitly

The enumeration EntryType is used as a bit field of DebugMacroEntry:
```
  EntryType m_type : 3
```

Since underlying type of enumeration is implementation-dependent, a signed integer is
converted to the 3-bit value by some compilers (MSVC).

That's why a DebugMacroEntry instance that was created with EntryType value > 3 (END_FILE or INDIRECT)
contains incorrect negative value in its m_type data-member.


  Commit: db1fa62bf8241cc623b63feca2cfae7d79da6577
      https://github.com/llvm/llvm-project/commit/db1fa62bf8241cc623b63feca2cfae7d79da6577
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2019-12-26 (Thu, 26 Dec 2019)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/commands/expression/macros/Makefile

  Log Message:
  -----------
  [lldb][test] Don't include "test_common.h" in the debug macros test

GCC produces incorrect .debug_macro section when "-include" option is used:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93075.


Compare: https://github.com/llvm/llvm-project/compare/37339d1426d1...db1fa62bf824


More information about the All-commits mailing list