You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/commands/elf-symbols/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -50,4 +50,4 @@ If location is a file, command will split debug info from it and upload them to
50
50
|`--disable-git`| Optional | Prevents the command from invoking Git in the current working directory and sending repository-related data to Datadog (such as the hash, remote URL, and paths within the repository of sources referenced in the source map). |
51
51
|`--repository-url`| Optional | Overrides the remote repository with a custom URL. For example, `https://github.com/my-company/my-project`. |
52
52
|`--replace-existing`| Optional | If symbol information with the same build ID is already present on Datadog side, discard it and use the newly uploaded information.<br>Default behavior is to only replace existing debug information if the newly uploaded information is considered a better source with the following ordering: debug info > symbol table > dynamic symbol table. |
53
-
|`--upload-dynamic-symbols`| Optional | Upload dynamic symbol information if neither debug information nor symbol table are present but a dynamic symbol table is available.<br>Default behavior is to upload symbol information only when a symbol table or debug information are present, since dynamic symbol table as less information and only contains exported symbols. |
53
+
|`--upload-dynamic-symbols`| Optional | Upload dynamic symbol information if neither debug information nor symbol table are present but a dynamic symbol table is available.<br>Default behavior is to upload symbol information only when a symbol table or debug information are present, since dynamic symbol table has less information and only contains exported symbols. |
// If the file has only a dynamic symbol table, preserve it
600
+
// `objcopy --only-keep-debug` would remove it, so we need to dump it separately with `objcopy --dump-section` and then merge it back with `objcopy --add-section`
0 commit comments