llvm-project/llvm/test/tools
Georgy Komarov afd81a637d
[llvm-objcopy] Fix crash when removing symbol table at same time as adding a symbol
This patch resolves crash that occurs when user wanted to remove all
symbols and add a brand new one using:

```
llvm-objcopy -R .symtab --add-symbol foo=1234 in.o out.o
```

Before these changes the symbol table internally being null when adding
new symbols. For now we will regenerate symtab in this case.

This fixes: https://bugs.llvm.org/show_bug.cgi?id=43930

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D82935
2020-07-05 05:14:00 +03:00
..
UpdateTestChecks [utils] change default nameless value to "TMP" 2020-06-01 06:54:45 -04:00
dsymutil [dsymutil] Don't emit N_AST symbol entries in the Mach-O companion file 2020-06-05 08:42:18 -07:00
gold Test update for a7fa35a629 2020-05-28 16:00:59 -07:00
llc Address redirect issue on Windows. 2020-01-16 15:07:50 -05:00
llvm-ar [llvm-ar][test] Unsupport error-opening-directory.test on FreeBSD 2020-07-03 10:57:32 -07:00
llvm-as
llvm-cfi-verify
llvm-config
llvm-cov [llvm-cov gcov] Support clang<11 fake 4.2 format 2020-06-17 10:17:15 -07:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool [llvm-dlltool] Add a testcase to show the kind of weak external used for import library aliases. NFC. 2020-03-14 14:00:36 +02:00
llvm-dwarfdump [DebugInfo] Use Cursor to detect errors in debug line prologue parser 2020-07-03 11:52:06 +01:00
llvm-dwp llvm-dwarfdump: Include unit count in DWP index header dumping 2020-06-12 12:40:02 -07:00
llvm-elfabi [yaml2obj] - Set a default value for `PAddr` property of a program header to a value of `VAddr` 2020-03-14 17:44:57 +03:00
llvm-exegesis [llvm-exegesis] Exploring X86::OperandType::OPERAND_COND_CODE 2020-02-12 21:33:52 +03:00
llvm-extract [llvm-extract] Add -keep-const-init commandline option 2020-02-03 14:30:28 +09:00
llvm-gsymutil [DWARFYAML][debug_info] Replace 'InitialLength' with 'Format' and 'Length'. 2020-06-30 16:28:39 +08:00
llvm-ifs [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
llvm-isel-fuzzer
llvm-lib [ms] Fix repeated executions of the no-inputs llvm-lib test 2020-04-30 18:10:46 -04:00
llvm-lipo [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
llvm-lit
llvm-locstats Reland D73534: [DebugInfo] Enable the debug entry values feature by default 2020-03-19 13:57:30 +01:00
llvm-lto [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
llvm-lto2 Revert "Revert "Reland "[Support] make report_fatal_error `abort` instead of `exit`""" 2020-02-13 10:16:06 -08:00
llvm-mc
llvm-mca [X86] Add mayLoad/mayStore flags to some X87 instructions that don't have isel patterns to infer them from. 2020-06-23 23:40:30 -07:00
llvm-ml [ms] [llvm-ml] Use default RIP-relative addressing for x64 MASM. 2020-07-01 12:41:07 -04:00
llvm-modextract
llvm-mt
llvm-nm llvm-nm: Implement --special-syms. 2020-06-22 13:05:47 -07:00
llvm-objcopy [llvm-objcopy] Fix crash when removing symbol table at same time as adding a symbol 2020-07-05 05:14:00 +03:00
llvm-objdump [llvm-objdump] Decrease instruction indentation for non-x86 2020-06-11 09:10:50 -07:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbutil
llvm-profdata [llvm-profdata] --hot-func-list: fix some style issues in D81800 2020-06-24 15:17:03 -07:00
llvm-ranlib [llvm-ranlib][test] Fix rwx- after a4f3847f3d 2020-02-14 19:41:55 -08:00
llvm-rc [llvm-rc] Implement the language id option 2020-06-23 11:14:07 +03:00
llvm-readobj [llvm-readelf] - Do not report a misleading warning when there is no string table. 2020-07-03 11:56:37 +03:00
llvm-size [llvm-size] Output REL, RELA and STRTAB sections when allocatable 2020-07-01 12:02:32 +01:00
llvm-split
llvm-strings
llvm-symbolizer [NFC] Remove outdated comment in llvm-symbolizer test case. 2020-06-23 17:10:46 -07:00
llvm-xray [llvm-xray][test] Fix unsupported-elf32.txt after D80185 2020-05-28 19:16:29 -07:00
lto
obj2yaml [NFC] mv llvm/test/tools/obj2yaml/macho-DWARF-debug-ranges.yaml llvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml 2020-06-14 16:39:15 +08:00
opt-viewer Fix opt-viewer tests failing after move from cgi.escape to html.escape 2020-04-17 08:37:47 +02:00
sancov [sancov] Accommodate sancov and coverage report server for use under Windows 2020-05-26 14:36:44 -07:00
sanstats [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
yaml2obj [DWARFYAML][test] Use --ignore-case to suppress errors. 2020-07-03 23:46:37 +08:00