Commit 0ac194e
committed
[lldb][RISCV] Fixed TestSymbolFileJSON for RISC-V
The RISC-V ABI requires executables to support loading at arbitrary addresses to enable shared libraries and secure loading (ASLR). In PIC mode, function addresses cannot be hardcoded, and consequently we cannot strip symbols that are dynamically linked. By disabling PIC, we can strip such symbols for testing.1 parent da1eabd commit 0ac194e
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments