mirror of
https://github.com/opnsense/src.git
synced 2026-03-03 05:41:01 -05:00
There are several bugfixes in this update, but the most important one is to ensure __start_ and __stop_ symbols for linker sets and kernel module metadata are always emitted in object files: http://llvm.org/bugs/show_bug.cgi?id=9292 Before this fix, if you compiled kernel modules with clang, they would not be properly processed by kldxref, and if they had any dependencies, the kernel would fail to load those. Another problem occurred when attempting to mount a tmpfs filesystem, which would result in 'operation not supported by device'.
22 lines
645 B
C++
22 lines
645 B
C++
//===-- MCAsmParserExtension.cpp - Asm Parser Hooks -----------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
|
|
using namespace llvm;
|
|
|
|
MCAsmParserExtension::MCAsmParserExtension() :
|
|
BracketExpressionsSupported(false) {
|
|
}
|
|
|
|
MCAsmParserExtension::~MCAsmParserExtension() {
|
|
}
|
|
|
|
void MCAsmParserExtension::Initialize(MCAsmParser &Parser) {
|
|
this->Parser = &Parser;
|
|
}
|