llvm-project/llvm/lib/AsmParser
Ben Dunbobbin 7eee2a2d44 [IR] Don't allow DLL storage-class and local linkage
Disallow this meaningless combination. Doing so simplifies analysis
of LLVM code w.r.t t DLL storage-class, and prevents mistakes with
DLL storage class.

- Change the assembler to reject DLL storage class on symbols with
  local linkage.
- Change the bitcode reader to clear the DLL Storage class when the
  linkage is local for auto-upgrading
- Update LangRef.

There is an existing restriction on non-default visibility and local
linkage which this is modelled on.

Differential Review: https://reviews.llvm.org/D134784
2022-09-30 00:26:01 +01:00
..
CMakeLists.txt
LLLexer.cpp [AArch64][SME] Fix lowering of llvm.aarch64.get.pstatesm() 2022-09-15 15:14:13 +00:00
LLParser.cpp [IR] Don't allow DLL storage-class and local linkage 2022-09-30 00:26:01 +01:00
Parser.cpp Cleanup includes: DebugInfo & CodeGen 2022-03-12 17:26:40 +01:00