llvm-project/lldb/test/API/commands/expression
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
..
anonymous-struct [lldb][NFC] Modernize TestCallUserAnonTypedef 2020-04-01 10:06:59 +02:00
argument_passing_restrictions
calculator_mode
call-function [lldb][NFC] Modernize call-function tests 2020-04-01 10:17:42 +02:00
call-restarts
call-throws
cast_int_to_anonymous_enum
char [lldb][NFC] Modernize TestExprChar 2020-04-01 13:24:21 +02:00
class_template_specialization_empty_pack
codegen-crash-typedefdecl-not-in_declcontext
completion
completion-crash-incomplete-record
completion-crash-invalid-iterator
completion-in-lambda-and-unnamed-class
context-object
context-object-objc
deleting-implicit-copy-constructor
diagnostics Recommit "[lldb] Make TestExprDiagnostics.py pass again after enabling Fix-Its in test" 2020-03-30 14:24:06 -07:00
dollar-in-variable
dont_allow_jit
entry-bp
expr-in-syscall
fixits [lldb] [testsuite] Fix TestFixIts.py on Linux 2020-04-18 08:32:12 +02:00
formatters [lldb] Un-XFAIL two tests on NetBSD 2020-03-07 18:35:22 +01:00
function_template_specialization_temp_args
ignore-artificial-constructors
import-std-module [lldb/testsuite] Skip TestEmptyStdModule.py if using a remote platform 2020-03-18 20:52:28 -07:00
import_builtin_fileid
inline-namespace
invalid-args
ir-interpreter
ir-interpreter-phi-nodes [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
issue_11588
macros
multiline-completion
multiline-navigation
namespace_local_var_same_name_cpp_and_c
namespace_local_var_same_name_obj_c
no-deadlock
options
persist_objc_pointeetype
persistent_ptr_update
persistent_types [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
persistent_variables [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
po_verbosity
pr35310
radar_8638051 [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
radar_9531204 [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
radar_9673664 [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
rdar42038760
rdar44436068
regression-access-function-template-in-record
result_numbering Internal expressions shouldn't increment the result variable numbering. 2020-03-23 13:30:37 -07:00
save_jit_objects [lldb] Remove license headers from all test source files 2020-02-20 08:32:01 +01:00
scoped_enums
static-initializers [lldb] Fix some tests failing with gmodules after change to stdlib.h 2020-02-17 09:39:09 +01:00
test
timeout
top-level
two-files
unicode-in-variable
unwind_expression
vector_of_enums
weak_symbols
xvalue [lldb][NFC] Modernize TestXValuePrinting 2020-04-01 10:20:52 +02:00
.categories