<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Stack overflow with recursive linker script"
   href="https://bugs.llvm.org/show_bug.cgi?id=45381">45381</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Stack overflow with recursive linker script
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lld
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>raul+llvm@tambre.ee
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, smithp352@googlemail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>script:

    GROUP(script)

clang++ -fuse-ld=ld.lld script

  #5 0x0000000000e8b646 llvm::sys::fs::openFileForRead(llvm::Twine const&,
int&, llvm::sys::fs::OpenFlags, llvm::SmallVectorImpl<char>*)
/opt/llvm-project/llvm/lib/Support/Unix/Path.inc:984:7
  #6 0x0000000000e8ead7 llvm::sys::fs::openNativeFileForRead(llvm::Twine
const&, llvm::sys::fs::OpenFlags, llvm::SmallVectorImpl<char>*)
/opt/llvm-project/llvm/lib/Support/Unix/Path.inc:1021:24
  #7 0x0000000000ed619a llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer,
std::default_delete<llvm::MemoryBuffer> > >
getFileAux<llvm::MemoryBuffer>(llvm::Twine const&, long, unsigned long,
unsigned long, bool, bool)
/opt/llvm-project/llvm/lib/Support/MemoryBuffer.cpp:263:8
  #8 0x0000000000ed60bd llvm::MemoryBuffer::getFile(llvm::Twine const&, long,
bool, bool) /opt/llvm-project/llvm/lib/Support/MemoryBuffer.cpp:247:10
  #9 0x0000000001080be8 lld::elf::readFile(llvm::StringRef)
/opt/llvm-project/lld/ELF/InputFiles.cpp:113:25
 #10 0x000000000101bc99 lld::elf::LinkerDriver::addFile(llvm::StringRef, bool)
/opt/llvm-project/lld/ELF/Driver.cpp:194:15
 #11 0x00000000011535c2 lld::elf::(anonymous
namespace)::ScriptParser::addFile(llvm::StringRef)
/opt/llvm-project/lld/ELF/ScriptParser.cpp:304:3
 #12 0x000000000115115f lld::elf::(anonymous
namespace)::ScriptParser::readInput()
/opt/llvm-project/lld/ELF/ScriptParser.cpp:363:3
 #13 0x0000000001150dc7 lld::elf::(anonymous
namespace)::ScriptParser::readGroup()
/opt/llvm-project/lld/ELF/ScriptParser.cpp:339:3
 #14 0x000000000114ffb9 lld::elf::(anonymous
namespace)::ScriptParser::readLinkerScript()
/opt/llvm-project/lld/ELF/ScriptParser.cpp:240:5
 #15 0x000000000114fc2c lld::elf::readLinkerScript(llvm::MemoryBufferRef)
/opt/llvm-project/lld/ELF/ScriptParser.cpp:1592:3
 #16 0x000000000101bde5 lld::elf::LinkerDriver::addFile(llvm::StringRef, bool)
/opt/llvm-project/lld/ELF/Driver.cpp:206:5
 #17 0x00000000011535c2 lld::elf::(anonymous
namespace)::ScriptParser::addFile(llvm::StringRef)
/opt/llvm-project/lld/ELF/ScriptParser.cpp:304:3
 #18 0x000000000115115f lld::elf::(anonymous
namespace)::ScriptParser::readInput()
/opt/llvm-project/lld/ELF/ScriptParser.cpp:363:3
 #19 0x0000000001150dc7 lld::elf::(anonymous
namespace)::ScriptParser::readGroup()
/opt/llvm-project/lld/ELF/ScriptParser.cpp:339:3
 #20 0x000000000114ffb9 lld::elf::(anonymous
namespace)::ScriptParser::readLinkerScript()
/opt/llvm-project/lld/ELF/ScriptParser.cpp:240:5
[repeating]</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>