[all-commits] [llvm/llvm-project] f6a2ca: [lldb][test] Disable PIE for some API tests (#93808)

Vladislav Dzhidzhoev via All-commits all-commits at lists.llvm.org
Wed Jun 12 08:10:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
      https://github.com/llvm/llvm-project/commit/f6a2ca4f22e3d737a7aa488a4edde88d53dc8b26
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M lldb/test/API/commands/target/basic/Makefile
    M lldb/test/API/lang/c/global_variables/Makefile
    M lldb/test/API/lang/cpp/char8_t/Makefile

  Log Message:
  -----------
  [lldb][test] Disable PIE for some API tests (#93808)

When PIE is enabled on a platform by default, these tests fail since the
`target variable` command can't read a global string variable value
before running an inferior process.

It fixes the following tests when built with clang on Ubuntu aarch64:
```
commands/target/basic/TestTargetCommand.py
lang/c/global_variables/TestGlobalVariables.py
lang/cpp/char8_t/TestCxxChar8_t.py
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list