llvm-project/lldb/test/API/commands
Jan Kratochvil eef9cb1628 [lldb] [testsuite] Fix TestFixIts.py on Linux
Since D77214 there is a testsuite regression for TestFixIts.py
on Fedora 31 x86_64.
    File "/home/jkratoch/redhat/llvm-monorepo/lldb/test/API/commands/expression/fixits/TestFixIts.py", line 148, in test_with_target
      self.assertEquals(value.GetError().GetCString(), "error: No value")
  AssertionError: 'error: error: Multiple internal symbols found for \'d\'\nid = {0x00000d2a}, ran [truncated]... != 'error: No value'

That is because Fedora glibc incl. libm.so contains also ELF debug
symbols and there exists a 'd' symbol:
  (gdb) p d
  $1 = {i = {0, 1076887552}, d = 16}
  (gdb) p &d
  $2 = (const number *) 0x7ffff78e8bc0 <d>
  (gdb) info sym 0x7ffff78e8bc0
  d in section .rodata of /lib64/libm.so.6

  $ nm /lib64/libm.so.6 |grep ' d$'
  00000000000bfbc0 r d
  00000000000caa20 r d
  00000000000caa20 r d
  00000000000caa20 r d

  glibc-build$ for i in `find -name "*.o"`;do nm 2>/dev/null $i|grep ' d$' && echo $i;done
  0000000000000080 r d
  ./math/s_atan-fma4.o
  0000000000000080 r d
  ./math/s_atan-avx.o
  0000000000000080 r d
  ./math/s_atan.o
2020-04-18 08:32:12 +02:00
..
add-dsym/uuid [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
apropos [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
breakpoint/command/list
command [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
disassemble/basic [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
expression [lldb] [testsuite] Fix TestFixIts.py on Linux 2020-04-18 08:32:12 +02:00
frame [lldb/Target] Support more than 2 symbols in StackFrameRecognizer 2020-03-18 14:15:58 +01:00
gui
help
log [lldb] Fixing the bug that the "log timer" has no tab completion 2020-04-09 08:58:52 +02:00
platform [lldb/test] Move `platform process list` tests to its own directory (NFC) 2020-02-21 22:44:36 +01:00
process
quit
register/register [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
reproducer/invalid-args
settings Recommit "[lldb] Fix TestSettings.test_pass_host_env_vars on windows" 2020-04-02 11:52:56 +02:00
source/info
statistics/basic [lldb] Mark expressions that couldn't be parsed or executed as failed expressions 2020-03-23 15:28:17 +01:00
target [lldb][testsuite] Create a SBDebugger instance for each test 2020-03-05 10:12:54 +03:00
version
watchpoints Silent failing TestWatchpointCount.py aarch64/linux 2020-04-01 16:31:37 +05:00