<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/101544>101544</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            unexpected warnings: warning: failed to compute relocation: R_RISCV_SET_ULEB128, Invalid data was encountered while parsing the file
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          BaoshanPang
      </td>
    </tr>
</table>

<pre>
    ```
$ cat t.c
int t(int x, int y){
 if(x > y){
    asm("add x0, x0, x0");
    return 1;
  }
 else
    return 0;
}

$ ./bin/clang -O2 -g -c t.c

$ ./bin/llvm-objdump -d -l -S t.o > t.obj
warning: failed to compute relocation: R_RISCV_SET_ULEB128, Invalid data was encountered while parsing the file
warning: failed to compute relocation: R_RISCV_SUB_ULEB128, Invalid data was encountered while parsing the file
warning: failed to compute relocation: R_RISCV_SET_ULEB128, Invalid data was encountered while parsing the file
warning: failed to compute relocation: R_RISCV_SUB_ULEB128, Invalid data was encountered while parsing the file
warning: failed to compute relocation: R_RISCV_SET_ULEB128, Invalid data was encountered while parsing the file
warning: failed to compute relocation: R_RISCV_SUB_ULEB128, Invalid data was encountered while parsing the file

```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVFFr2zAQ_jXyy2Ejn-3EftBD0zRQGGy0616LLJ1tFUUKlpyk_344SZuy7WkvZTAw8nH3-c7fJ-6TIZjeEQlWrVi1TuQUBz-KlfRhkO6bdH3Sev0q2IJfHr5m_IZhCUpGiJk6J4yLEBnW8_vI8Bbm4JVhw5arMwJMx7A-AivufikAgAxbhjVDlFrDkc8NrifO6OIDeqQ4jQ7yD0m2XF9CsoF-g_J36DvwSiRjuGmNY7hRVroe0q8IaQ-putL7E9ja_Tb17YuetjtINaQW0keImT9RjJlvX86fHeTojOtZcQOdNJY0RA_Kb3dTJBjJeiWj8W6uPzw_3D_e_nh-vPv-_PTlbpXPotzCvdtLazRoGSUcZAByyk8u0kgaDoOxBDs5BuN6iANBZyz9_ein1aeN_s_632R9Od88ItGi0E3RyIREvkSsinqxwGQQvCgbXcm6VEVdFKqq9SLPqcGFbiRflG1iBHIsec3zvK6WJWZ53lDXyUZ3HS-XjWYlp600Npu3L_Njn5gQJhI5z6uyTKxsyYaTmSE6OsCpOltItU5GcVrZduoDK7k1IYZrm2iiJTE5Ou5IxZnvWc4w6_Upt5pMoxVDjLv5FxhuGG56E4epzZTfXvznzYZ2o38hFRluToQDw81Fkb3AnwEAAP__YnneHQ">