[PATCH] D66405: [llvm-ifs] llvm Interface Stubs merging + object file generation tool.

Puyan Lotfi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 02:31:24 PDT 2019


plotfi marked 2 inline comments as done.
plotfi added inline comments.


================
Comment at: llvm/test/tools/llvm-ifs/ef.ifs:28
+# CHECK-ELF: OBJECT  GLOBAL DEFAULT  UND e
+# CHECK-ELF: OBJECT  GLOBAL DEFAULT  UND f
+
----------------
compnerd wrote:
> Why undefined
Undefined because I do not define a .text section for the symbol to belong to. I could do something like this to name the undefined go away:

```
--- !ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64
Sections:
  - Name:            .text
    Type:            SHT_PROGBITS
Symbols:
  Global:
    - Name:            _Z3foov
      Type:            STT_FUNC
      Section:         .text
...

```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66405/new/

https://reviews.llvm.org/D66405





More information about the llvm-commits mailing list