[PATCH] D26070: [ELF] Fix fetching source line, when file has multiple "AX" sections

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 07:08:26 PDT 2016


rafael added inline comments.


================
Comment at: ELF/InputFiles.cpp:50
+
+  DenseMap<StringRef, uint64_t> OffsetMap;
+};
----------------
Section names don't need to be unique. You need to used the section index.

For an easy example use -fno-unique-section-names.


Repository:
  rL LLVM

https://reviews.llvm.org/D26070





More information about the llvm-commits mailing list